Browse Source

2023年8月22日16:27:18

纪新园 1 year ago
parent
commit
c127296773

+ 0 - 1
src/views/businessManagement/purchaseOrder/index.vue

@@ -644,7 +644,6 @@ export default {
           delete res.data.data.debitAmount
           res.data.data.deliveryItemsList.forEach(item => {
               item.deliveryAmount = item.amount
-              item.primaryQuantiy = item.purchaseQuantity
           })
           // res.data.data.srcId = generateShipmentId
           res.data.data.purchaseAmount = generateMount

+ 7 - 0
src/views/exportTrade/purchaseContract/detailsPage.vue

@@ -635,6 +635,13 @@ export default {
     },
     PSModification(type) {
       if (!this.pickerValue) return this.$message.error("请选择日期")
+      if (type !== 1){
+        if(this.form.productionScheduling !== '排产中'){
+          this.pickerValue = ''
+          this.dialog = false
+          return this.$message.error("请先排产后再操作")
+        }
+      }
       const loading = this.$loading({
         lock: true,
         text: '操作中',