lilei 1 år sedan
förälder
incheckning
b5b6a34cf1

+ 1 - 1
src/views/salesManagement/backorder/detailModal.vue

@@ -120,7 +120,7 @@ export default {
         { title: '单位', dataIndex: 'productEntity.unit', width: '8%', align: 'center', customRender: function (text) { return text || '--' } }
       ]
       if (this.$hasPermissions('B_oosDetail_costPrice')) { //  成本
-        arr.push({ title: '缺货成本金额', dataIndex: 'showCost', width: '10%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
+        arr.push({ title: '缺货成本金额', dataIndex: 'totalShowCostAmount', width: '10%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
       }
       if (this.$hasPermissions('B_oosDetail_salesPrice')) { //  售价权限
         arr.push({ title: '售价', dataIndex: 'price', width: '15%', align: 'right', scopedSlots: { customRender: 'price' }})

+ 2 - 1
src/views/salesManagement/backorder/list.vue

@@ -33,7 +33,8 @@
         ref="table"
         :style="{ height: tableHeight+84.5+'px' }"
         size="small"
-        :rowKey="(record) => record.id"
+        :rowKey="(record) => record.no"
+        rowKeyName="no"
         :columns="columns"
         :data="loadData"
         :scroll="{ y: tableHeight }"