|
@@ -1381,6 +1381,7 @@ export default {
|
|
this.mainForm.remark = data.remark
|
|
this.mainForm.remark = data.remark
|
|
this.mainForm.policyId = data.policyId
|
|
this.mainForm.policyId = data.policyId
|
|
this.mainForm.isPlanOrder = data.isPlanOrder
|
|
this.mainForm.isPlanOrder = data.isPlanOrder
|
|
|
|
+ this.commercialType = data.commercialType
|
|
this.policyId = data.policyId
|
|
this.policyId = data.policyId
|
|
this.mainForm.k3ServiceName = data.k3ServiceName
|
|
this.mainForm.k3ServiceName = data.k3ServiceName
|
|
;(this.mainForm.k3ServiceId = data.k3ServiceId), (this.mainForm.fileNum = data.fileNum)
|
|
;(this.mainForm.k3ServiceId = data.k3ServiceId), (this.mainForm.fileNum = data.fileNum)
|
|
@@ -1782,12 +1783,16 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
if (hasCustomerWalletId) return
|
|
if (hasCustomerWalletId) return
|
|
|
|
+ if (this.commercialType && this.mainForm.isPlanOrder && !this.warehouseValue) {
|
|
|
|
+ this.$errorMsg(`仓库必选`)
|
|
|
|
+ return
|
|
|
|
+ }
|
|
const params = {
|
|
const params = {
|
|
theTime: this.mainForm.date,
|
|
theTime: this.mainForm.date,
|
|
k3ServiceId: this.mainForm.k3ServiceId,
|
|
k3ServiceId: this.mainForm.k3ServiceId,
|
|
k3ServiceName: this.mainForm.k3ServiceName,
|
|
k3ServiceName: this.mainForm.k3ServiceName,
|
|
isPlanOrder: this.mainForm.isPlanOrder,
|
|
isPlanOrder: this.mainForm.isPlanOrder,
|
|
- commercialType: this.goodsList[0].commercialType,
|
|
|
|
|
|
+ commercialType: this.commercialType,
|
|
remark: this.mainForm.remark,
|
|
remark: this.mainForm.remark,
|
|
type: 2, // 1:普通零售单,2:政策零售单
|
|
type: 2, // 1:普通零售单,2:政策零售单
|
|
retailOrderItemList: this.goodsList,
|
|
retailOrderItemList: this.goodsList,
|