|
@@ -93,6 +93,7 @@
|
|
|
clearable
|
|
|
:disabled="browseStatus || form.warehouseStatus > 3||detailList.findIndex(function(item){return item.fBillstatus == 40}) == -1?false:true"
|
|
|
style="width: 80%"
|
|
|
+ @change="feeUnitChange"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="(item, index) in fFeetUnitOptions"
|
|
@@ -9388,6 +9389,19 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ feeUnitChange() {
|
|
|
+ if (this.form.fFeetUnit == 7) {
|
|
|
+ this.form.fGoodsid = null
|
|
|
+ listGoods({fStatus: 0, delFlag: 0, ifCntrno: 1}).then((response) => {
|
|
|
+ this.goodsOptions = response.rows;
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ listGoods({fStatus: 0, delFlag: 0}).then((response) => {
|
|
|
+ this.goodsOptions = response.rows;
|
|
|
+ });
|
|
|
+ }
|
|
|
+ console.log(this.form.fFeetUnit)
|
|
|
+ },
|
|
|
},
|
|
|
watch: {
|
|
|
// 监听 addOrUpdateVisible 改变
|