增加租户界面、单据优化

This commit is contained in:
季圣华
2021-06-01 23:33:36 +08:00
parent 15245791c8
commit 6d7cbe7612
19 changed files with 279 additions and 26 deletions

View File

@@ -20,6 +20,7 @@ export const BillModalMixin = {
accountList: [],
accountIdList: [],
accountMoneyList: [],
billUnitPirce: '',
spans: {
labelCol1: {span: 2},
wrapperCol1: {span: 22},
@@ -165,6 +166,7 @@ export const BillModalMixin = {
//单元值改变一个字符就触发一次
onValueChange(event) {
let that = this
debugger
const { type, row, column, value, target } = event
let param,operNumber,unitPrice,taxUnitPrice,allPrice,taxRate,taxMoney,taxLastMoney
switch(column.key) {
@@ -176,7 +178,8 @@ export const BillModalMixin = {
case "barCode":
param = {
barCode: value,
mpList: getMpListShort(Vue.ls.get('materialPropertyList')) //扩展属性
mpList: getMpListShort(Vue.ls.get('materialPropertyList')), //扩展属性
prefixNo: this.prefixNo
}
getMaterialByBarCode(param).then((res) => {
if (res && res.code === 200) {
@@ -190,12 +193,12 @@ export const BillModalMixin = {
materialOther: res.data.materialOther,
unit: res.data.commodityUnit,
operNumber: 1,
unitPrice: res.data.purchaseDecimal,
taxUnitPrice: res.data.purchaseDecimal,
allPrice: res.data.purchaseDecimal,
unitPrice: res.data.billPrice,
taxUnitPrice: res.data.billPrice,
allPrice: res.data.billPrice,
taxRate: 0,
taxMoney: 0,
taxLastMoney: res.data.purchaseDecimal
taxLastMoney: res.data.billPrice,
}
}]);
that.getStockByDepotBarCode(row, target)