|
@@ -699,6 +699,10 @@ let vm = new Vue({
|
|
query: function () {
|
|
query: function () {
|
|
vm.storeId = sessionStorage.getItem("storeId");
|
|
vm.storeId = sessionStorage.getItem("storeId");
|
|
var thisGoods = {};
|
|
var thisGoods = {};
|
|
|
|
+ // 挂起后的新订单默认开启
|
|
|
|
+ if (vm.pendingOrderMap != null || vm.pendingOrderMap.size > 0) {
|
|
|
|
+ vm.switch1 = true;
|
|
|
|
+ }
|
|
var overflowLi = this.$refs.overflowLi;
|
|
var overflowLi = this.$refs.overflowLi;
|
|
// console.log("vm.$refs.saomiao.value===>" + vm.$refs.saomiao.value);
|
|
// console.log("vm.$refs.saomiao.value===>" + vm.$refs.saomiao.value);
|
|
let scanSellVolume = calScanSellVolume(vm.$refs.saomiao.value);
|
|
let scanSellVolume = calScanSellVolume(vm.$refs.saomiao.value);
|
|
@@ -945,7 +949,7 @@ let vm = new Vue({
|
|
vm.levelName = '';
|
|
vm.levelName = '';
|
|
vm.deductionScore = '';
|
|
vm.deductionScore = '';
|
|
vm.memberCurrentAvailableScore = '';
|
|
vm.memberCurrentAvailableScore = '';
|
|
- vm.$refs.couponBarCode.value = '';
|
|
|
|
|
|
+ vm.memberCode = '';
|
|
vm.switch1 = true;
|
|
vm.switch1 = true;
|
|
vm.clickFlag = true;
|
|
vm.clickFlag = true;
|
|
vm.calActivityFlag = false;
|
|
vm.calActivityFlag = false;
|
|
@@ -959,7 +963,7 @@ let vm = new Vue({
|
|
vm.levelName = '';
|
|
vm.levelName = '';
|
|
vm.deductionScore = '';
|
|
vm.deductionScore = '';
|
|
vm.memberCurrentAvailableScore = '';
|
|
vm.memberCurrentAvailableScore = '';
|
|
- vm.$refs.couponBarCode.value = '';
|
|
|
|
|
|
+ vm.memberCode = '';
|
|
vm.clickFlag = true;
|
|
vm.clickFlag = true;
|
|
vm.switch1 = true;
|
|
vm.switch1 = true;
|
|
vm.calActivityFlag = false;
|
|
vm.calActivityFlag = false;
|
|
@@ -985,7 +989,7 @@ let vm = new Vue({
|
|
vm.pendingOrderMap.delete(key);
|
|
vm.pendingOrderMap.delete(key);
|
|
|
|
|
|
vm.clickFlag = true;
|
|
vm.clickFlag = true;
|
|
- vm.$refs.couponBarCode.value = '';
|
|
|
|
|
|
+ vm.memberCode = '';
|
|
vm.switch1 = true;
|
|
vm.switch1 = true;
|
|
vm.calActivityFlag = false;
|
|
vm.calActivityFlag = false;
|
|
removeByValue(vm.pendingOrderKeys,key);
|
|
removeByValue(vm.pendingOrderKeys,key);
|
|
@@ -2099,7 +2103,8 @@ function toPayOrder(payCode){
|
|
vm.levelName = '';
|
|
vm.levelName = '';
|
|
vm.deductionScore = '';
|
|
vm.deductionScore = '';
|
|
vm.memberCurrentAvailableScore = '';
|
|
vm.memberCurrentAvailableScore = '';
|
|
- vm.$refs.couponBarCode.value = "";
|
|
|
|
|
|
+ vm.memberCode = "";
|
|
|
|
+ vm.switch1 = true;
|
|
vm.clickFlag = false;
|
|
vm.clickFlag = false;
|
|
vm.customClearData();
|
|
vm.customClearData();
|
|
|
|
|