|
|
@ -43,7 +43,7 @@ |
|
|
|
</div> |
|
|
|
<div class="item"> |
|
|
|
<span class="item_text">出库规则:</span> |
|
|
|
<el-select v-model="formobj.outStockRuleValue" placeholder="请选择出库规则" class="item_input" @change="selectOutStockRuleChange"> |
|
|
|
<el-select v-model="formobj.outstockRuleValue" placeholder="请选择出库规则" class="item_input" @change="selectOutStockRuleChange"> |
|
|
|
<el-option v-for="item in outStockRuleList" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey" /> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
@ -80,13 +80,14 @@ |
|
|
|
goodsTypeCode: '', |
|
|
|
percentageRate: '', |
|
|
|
percentageAmount: '', |
|
|
|
outStockRuleKey: '', |
|
|
|
outStockRuleValue: '', |
|
|
|
outstockRule: '', |
|
|
|
outstockRuleValue: '', |
|
|
|
sids: '', |
|
|
|
pname: '', |
|
|
|
sortNo: '', |
|
|
|
remarks: '', |
|
|
|
useOrgSid: window.sessionStorage.getItem('departmentSid'), |
|
|
|
orgPath: window.sessionStorage.getItem('defaultOrgPath'), |
|
|
|
createOrgSid: window.sessionStorage.getItem('orgSid'), |
|
|
|
userSid: window.sessionStorage.getItem('userSid'), |
|
|
|
|
|
|
@ -141,13 +142,14 @@ |
|
|
|
goodsTypeCode: '', |
|
|
|
percentageRate: '', |
|
|
|
percentageAmount: '', |
|
|
|
outStockRuleKey: '', |
|
|
|
outstockRule: '', |
|
|
|
outStockRuleValue: '', |
|
|
|
sids: '', |
|
|
|
pname: '', |
|
|
|
sortNo: '', |
|
|
|
remarks: '', |
|
|
|
useOrgSid: window.sessionStorage.getItem('departmentSid'), |
|
|
|
orgPath: window.sessionStorage.getItem('defaultOrgPath'), |
|
|
|
createOrgSid: window.sessionStorage.getItem('orgSid'), |
|
|
|
userSid: window.sessionStorage.getItem('userSid'), |
|
|
|
} |
|
|
@ -175,7 +177,7 @@ |
|
|
|
selectOutStockRuleChange(val){ |
|
|
|
const choose = this.outStockRuleList.filter((item) => item.sid == val) |
|
|
|
console.log('>>>>>>>>>selectOutStockRuleChange', choose) |
|
|
|
this.formobj.outStockRuleKey = choose[0].dictKey |
|
|
|
this.formobj. outstockRule = choose[0].dictKey |
|
|
|
this.formobj.outStockRuleValue = choose[0].dictValue |
|
|
|
}, |
|
|
|
} |
|
|
|