Commit 8afc585435df40f86a1ddcf8d705182f4fcf8cf5

Authored by 陈翱
1 parent 7c89d145

修复入库单,出库单详情添加,库存状态默认选中不能修改的bug

ant-design-vue-jeecg/src/views/system/receipt/modules/ReceiptDetailModal.vue
... ... @@ -100,8 +100,8 @@ export default {
100 100 },
101 101 methods: {
102 102 add() {
103   - this.edit(this.modelDefault);
104   - this.model.inventoryStatus = "good";
  103 + let record={inventoryStatus:'good'}
  104 + this.edit(record);
105 105 },
106 106 edit(record) {
107 107 this.model = Object.assign({}, record);
... ...
ant-design-vue-jeecg/src/views/system/shipment/modules/ShipmentDetailModal.vue
... ... @@ -101,8 +101,8 @@ export default {
101 101 },
102 102 methods: {
103 103 add() {
104   - this.edit(this.modelDefault);
105   - this.model.inventoryStatus = "good";
  104 + let record={inventoryStatus:'good'}
  105 + this.edit(record);
106 106 },
107 107 edit(record) {
108 108 this.model = Object.assign({}, record);
... ...