diff --git a/src/views/device/repairOrder/selectSparePartsLedger.vue b/src/views/device/repairOrder/selectSparePartsLedger.vue index 7acffbf8..3ca76002 100644 --- a/src/views/device/repairOrder/selectSparePartsLedger.vue +++ b/src/views/device/repairOrder/selectSparePartsLedger.vue @@ -6,7 +6,7 @@ :modal="false" width="1100px" center - :before-close="cancel" + :before-close = "cancel" > { this.sparePartsLedgerList = response.rows; diff --git a/src/views/device/sparePartsApplicationRecord/index.vue b/src/views/device/sparePartsApplicationRecord/index.vue index c50bd067..e8c08883 100644 --- a/src/views/device/sparePartsApplicationRecord/index.vue +++ b/src/views/device/sparePartsApplicationRecord/index.vue @@ -306,15 +306,15 @@ @@ -486,9 +486,6 @@ export default { spareName: [ { required: true, message: "备品备件名称不能为空", trigger: "blur" }, ], - spareModel: [ - { required: true, message: "规格型号不能为空", trigger: "blur" }, - ], spareQuantity: [ { required: true, message: "数量不能为空", trigger: "blur" }, ], @@ -517,6 +514,7 @@ export default { this.form.amount = obj[0].amount; this.form.storageAmount = obj[0].storageAmount; this.form.availableQuantity = obj[0].amount - obj[0].storageAmount; + this.form.spareQuantity = obj[0].spareQuantity; }, //设备选择 handleSelectEquipment() { diff --git a/src/views/device/sparePartsApplicationRecord/selectSinglePerson.vue b/src/views/device/sparePartsApplicationRecord/selectSinglePerson.vue index 111400c3..493e3b01 100644 --- a/src/views/device/sparePartsApplicationRecord/selectSinglePerson.vue +++ b/src/views/device/sparePartsApplicationRecord/selectSinglePerson.vue @@ -84,18 +84,6 @@ v-if="columns[1].visible" :show-overflow-tooltip="true" /> - - - - - - - + - \ No newline at end of file