|
@@ -219,7 +219,7 @@ import {
|
|
|
tradingBoxFees,
|
|
|
pleaseCheck,
|
|
|
repealCancel,
|
|
|
- statusUpdate, calculateRent, revokeRent, itemDetails, revokeRentingOut, detList, getList, tradingBoxItemSubmit
|
|
|
+ statusUpdate, calculateRent, revokeRent, itemDetails, revokeRentingOut, detList, getList, tradingBoxItemSubmitRent
|
|
|
} from "@/api/boxManagement/leaseIn/index.js";
|
|
|
|
|
|
import checkSchedule from "@/components/check/checkSchedule";
|
|
@@ -497,6 +497,7 @@ export default {
|
|
|
dialogTop: 25,
|
|
|
dialogWidth: "80%",
|
|
|
showSummary: true,
|
|
|
+ reserveSelection:true,
|
|
|
sumColumnList: [{
|
|
|
name: 'emptyWeight',
|
|
|
type: 'sum',
|
|
@@ -1451,18 +1452,18 @@ export default {
|
|
|
return loading();
|
|
|
}
|
|
|
form.boxType = form.$boxTypeId
|
|
|
- this.tradingBoxItemSubmitfun(form)
|
|
|
+ this.tradingBoxItemSubmitRentfun(form)
|
|
|
done(form)
|
|
|
},
|
|
|
// 箱信息的编辑
|
|
|
rowUpdate(form, index, done, loading) {
|
|
|
form.boxType = form.$boxTypeId
|
|
|
- this.tradingBoxItemSubmitfun(form)
|
|
|
+ this.tradingBoxItemSubmitRentfun(form)
|
|
|
done(form)
|
|
|
},
|
|
|
// 箱信息的添加和保存
|
|
|
- tradingBoxItemSubmitfun(form){
|
|
|
- tradingBoxItemSubmit({
|
|
|
+ tradingBoxItemSubmitRentfun(form){
|
|
|
+ tradingBoxItemSubmitRent({
|
|
|
...form,
|
|
|
pid:this.form.id?this.form.id:this.onLoad.id
|
|
|
}).then(res=>{
|