|
@@ -2965,16 +2965,14 @@ export default {
|
|
|
// 如果有id解锁,没有跳过
|
|
|
// this.form.id && this.unLock({moduleName: 'xs',tableName: 'business_order', billId: this.form.id})
|
|
|
this.saveLoading = true
|
|
|
- this.form.orderItemsList.forEach((item) => {
|
|
|
- console.log(this.storageIdOption);
|
|
|
- this.storageIdOption.forEach((itm)=>{
|
|
|
- console.log(itm.id);
|
|
|
+ this.surplusRouteQuantityOption.forEach((itm)=>{
|
|
|
+ // console.log(itm.storageId);
|
|
|
})
|
|
|
- item.storageId = this.storageIdOption
|
|
|
- console.log(item.storageQuantity);
|
|
|
+ console.log(this.form.contactsForm);
|
|
|
+ this.form.orderItemsList.forEach((item) => {
|
|
|
item.storageQuantity = item.storageQuantity.surplusRouteQuantity;
|
|
|
+ item.storageId = this.contactsForm.storageName
|
|
|
});
|
|
|
-
|
|
|
await this.computedCost()
|
|
|
typeSave(this.form).then(res => {
|
|
|
// this.$set(this.detailData, 'seeDisabled', true);
|