lilei %!s(int64=3) %!d(string=hai) anos
pai
achega
8f7edf28f0

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1653551329403
+  "version": 1653552101728
 }

+ 2 - 2
src/views/salesManagement/salesQuery/detail.vue

@@ -185,9 +185,9 @@ export default {
       ]
       // 实际总成本
       if (this.showCost) {
-        arr.splice(4, 0, { slots: { title: 'costTitle' }, dataIndex: 'cost', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
+        arr.splice(11, 0, { slots: { title: 'costTitle' }, dataIndex: 'cost', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
       } else {
-        arr.splice(4, 1)
+        arr.splice(11, 1)
       }
       // 下级创建,不显示仓库仓位
       if (!this.isOwerEdit) {

+ 1 - 1
src/views/salesManagement/salesQuery/edit.vue

@@ -289,7 +289,7 @@ export default {
       }
       // 实际总成本
       if (this.isCosts) {
-        arr.splice(7, 0, { slots: { title: 'costTitle' }, dataIndex: 'totalCost', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
+        arr.splice(!this.isOwerEdit ? 11 : 12, 0, { slots: { title: 'costTitle' }, dataIndex: 'totalCost', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
       }
       return arr
     }