فهرست منبع

面损表更新

fenghaifu 2 سال پیش
والد
کامیت
3ef24a293f

+ 20 - 0
src/views/reportForms/fabric-loss-table/otherYarnsInModal.vue

@@ -103,6 +103,26 @@ export default {
           width: 120,
           className: 'replacecolor'
         },
+        {
+          title: '存货编码',
+          dataIndex: 'cinvCode',
+          width: 120,
+          key: '',
+          className: 'replacecolor'
+        },
+        {
+          title: '存货名称',
+          dataIndex: 'ccode',
+          width: 200,
+          key: '',
+          className: 'replacecolor',
+          customRender: (text, record, index) => {
+            if (record.ccode == "合计")
+              return "";
+            else
+            return record.cinvName + ' ' + record.ccolor;
+          }
+        },
         {
           title: '批号',
           dataIndex: 'cbatch',

+ 22 - 2
src/views/reportForms/fabric-loss-table/surplusYarnModal.vue

@@ -103,6 +103,26 @@ export default {
           key: '',
           className: 'replacecolor'
         },
+        {
+          title: '存货编码',
+          dataIndex: 'cinvCode',
+          width: 120,
+          key: '',
+          className: 'replacecolor'
+        },
+        {
+          title: '存货名称',
+          dataIndex: 'ccode',
+          width: 200,
+          key: '',
+          className: 'replacecolor',
+          customRender: (text, record, index) => {
+            if (record.ccode == "合计")
+              return "";
+            else
+            return record.cinvName + ' ' + record.ccolor;
+          }
+        },
         {
           title: '批号',
           dataIndex: 'cbatch',
@@ -112,7 +132,7 @@ export default {
         {
           title: '使用数量',
           dataIndex: 'iquantity',
-          width: 120,
+          width: 100,
           key: '',
           className: 'replacecolor'
         },
@@ -127,7 +147,7 @@ export default {
         {
           title: '采购单价',
           dataIndex: 'iprice',
-          width: 120,
+          width: 100,
           key: '',
           className: 'replacecolor'
         }