|
@@ -200,9 +200,9 @@ export default {
|
|
|
small:null,//小单位(支)
|
|
small:null,//小单位(支)
|
|
|
totalMoney:0,//总价
|
|
totalMoney:0,//总价
|
|
|
modifyPrice:0,//实际收款
|
|
modifyPrice:0,//实际收款
|
|
|
- allList:'',//所有-可搜索数据
|
|
|
|
|
|
|
+ allList:'',
|
|
|
seekVal:'',//搜索值
|
|
seekVal:'',//搜索值
|
|
|
- seekOldVal:'',//旧-搜索值(上一次搜索值)
|
|
|
|
|
|
|
+ seekOldVal:'',//上一次搜索值
|
|
|
seekListIndex:0,
|
|
seekListIndex:0,
|
|
|
seekList:[],//搜索展示的列表
|
|
seekList:[],//搜索展示的列表
|
|
|
tableDataIndex:0,
|
|
tableDataIndex:0,
|
|
@@ -237,7 +237,6 @@ export default {
|
|
|
if(self.isAccounts){
|
|
if(self.isAccounts){
|
|
|
self.isAccounts = false
|
|
self.isAccounts = false
|
|
|
self.createOrder();
|
|
self.createOrder();
|
|
|
- console.log('ctrl+enter')
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if(e && e.key && e.key.toLowerCase() =='c' && e.ctrlKey ){
|
|
if(e && e.key && e.key.toLowerCase() =='c' && e.ctrlKey ){
|
|
@@ -415,7 +414,6 @@ export default {
|
|
|
let small = this.small;
|
|
let small = this.small;
|
|
|
big==null?Number(0):big;
|
|
big==null?Number(0):big;
|
|
|
small==null?Number(0):small;
|
|
small==null?Number(0):small;
|
|
|
- console.log(big,small)
|
|
|
|
|
if(big<=0 && small<=0){
|
|
if(big<=0 && small<=0){
|
|
|
this.$message({message: '请先输入数量',type: 'warning'});
|
|
this.$message({message: '请先输入数量',type: 'warning'});
|
|
|
return;
|
|
return;
|