|
@@ -131,6 +131,7 @@ import ModalModule from "@/components/plugin/modal";
|
|
|
import productMins from "@/mixins/product";
|
|
import productMins from "@/mixins/product";
|
|
|
import allMoreSelectInput from "@/components/module/allMoreSelectInput";
|
|
import allMoreSelectInput from "@/components/module/allMoreSelectInput";
|
|
|
import allMoreSelectInputMins from "@/mixins/allMoreSelectInput";
|
|
import allMoreSelectInputMins from "@/mixins/allMoreSelectInput";
|
|
|
|
|
+import { mapGetters } from "vuex";
|
|
|
export default {
|
|
export default {
|
|
|
name: "allotEx", // 开单
|
|
name: "allotEx", // 开单
|
|
|
components: {
|
|
components: {
|
|
@@ -167,17 +168,29 @@ export default {
|
|
|
bigCount: 0,
|
|
bigCount: 0,
|
|
|
smallCount: 0
|
|
smallCount: 0
|
|
|
},
|
|
},
|
|
|
- showSubmitModel: false
|
|
|
|
|
|
|
+ showSubmitModel: false,
|
|
|
|
|
+ autoLoad: false, //不自动请求数据 自定义请求
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
confirmContent() {
|
|
confirmContent() {
|
|
|
let content = "确认下一步?";
|
|
let content = "确认下一步?";
|
|
|
-
|
|
|
|
|
return content;
|
|
return content;
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+ computed:{
|
|
|
|
|
+ ...mapGetters(["getMyShopInfo","getLoginInfo"]),
|
|
|
|
|
+ },
|
|
|
|
|
+ onShow(){
|
|
|
|
|
+ this.shopId = this.getMyShopInfo.id;
|
|
|
|
|
+ let type = '';
|
|
|
|
|
+ this.initData({ type, shopId: this.shopId,delStatus:2 });
|
|
|
|
|
+ },
|
|
|
|
|
+ onLoad() {
|
|
|
|
|
+ this.shopId = this.getMyShopInfo.id;
|
|
|
|
|
+ let type = '';
|
|
|
|
|
+ this.initData({ type, shopId: this.shopId,delStatus:2 });
|
|
|
|
|
+ },
|
|
|
methods: {
|
|
methods: {
|
|
|
//自定义数量
|
|
//自定义数量
|
|
|
customNum(info) {
|
|
customNum(info) {
|
|
@@ -191,7 +204,6 @@ export default {
|
|
|
this.isFocus = true;
|
|
this.isFocus = true;
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
-
|
|
|
|
|
// this.$nextTick(()=>{
|
|
// this.$nextTick(()=>{
|
|
|
// this.initAllInput();
|
|
// this.initAllInput();
|
|
|
// })
|
|
// })
|
|
@@ -199,7 +211,8 @@ export default {
|
|
|
modalCancel() {
|
|
modalCancel() {
|
|
|
this.isModel = false;
|
|
this.isModel = false;
|
|
|
this.customData = {};
|
|
this.customData = {};
|
|
|
- }, // 取消 确认
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ // 取消 确认
|
|
|
affirm(val) {
|
|
affirm(val) {
|
|
|
this.isFocus = false;
|
|
this.isFocus = false;
|
|
|
this.isFocusOne = false;
|
|
this.isFocusOne = false;
|
|
@@ -223,9 +236,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
this.updateItemEvent(this.customData);
|
|
this.updateItemEvent(this.customData);
|
|
|
this.modalCancel();
|
|
this.modalCancel();
|
|
|
-
|
|
|
|
|
})
|
|
})
|
|
|
-
|
|
|
|
|
},
|
|
},
|
|
|
cancelEvent() {
|
|
cancelEvent() {
|
|
|
this.showSubmitModel = false;
|
|
this.showSubmitModel = false;
|