lxf před 1 rokem
rodič
revize
37dd5e29a8

+ 2 - 7
src/views/EHSD/procurement/handoverSlipEHSD/index.vue

@@ -25,11 +25,6 @@
             <span v-else>未到账</span>
           </div>
         </template>
-        <template #contractVersion="{ item }">
-          <div style="width: 100%">
-            <span v-if="item.contractVersion">V{{ item.contractVersion }}</span>
-          </div>
-        </template>
         <template #timeSpent="{ item }">
           <div style="width: 100%">
             <span>{{ getTimeSpent(item) }}</span>
@@ -108,7 +103,7 @@ const config = computed(() => {
     {
       attrs: {
         label: "版本号",
-        slot: "contractVersion",
+        prop: "contractVersion",
         width: 100,
       },
     },
@@ -265,7 +260,7 @@ const formConfig = computed(() => {
   return [
     {
       type: "input",
-      prop: "code",
+      prop: "contractCode",
       label: "合同编号",
       itemType: "text",
       disabled: true,

+ 2 - 7
src/views/EHSD/procurement/handoverSlipSampleEHSD/index.vue

@@ -25,11 +25,6 @@
             <span v-else>未到账</span>
           </div>
         </template>
-        <template #contractVersion="{ item }">
-          <div style="width: 100%">
-            <span v-if="item.contractVersion">V{{ item.contractVersion }}</span>
-          </div>
-        </template>
         <template #timeSpent="{ item }">
           <div style="width: 100%">
             <span>{{ getTimeSpent(item) }}</span>
@@ -108,7 +103,7 @@ const config = computed(() => {
     {
       attrs: {
         label: "版本号",
-        slot: "contractVersion",
+        prop: "contractVersion",
         width: 100,
       },
     },
@@ -265,7 +260,7 @@ const formConfig = computed(() => {
   return [
     {
       type: "input",
-      prop: "code",
+      prop: "contractCode",
       label: "交接单编号",
       itemType: "text",
       disabled: true,