fix:出入库详情表单领料时,仓库不可选,添加辅料详情列表
This commit is contained in:
parent
0d532cccb9
commit
6e92abc098
|
@ -108,7 +108,7 @@
|
||||||
v-model="form.warehouse"
|
v-model="form.warehouse"
|
||||||
clearable
|
clearable
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:disabled="warehouseDisable"
|
:disabled="form.type == 'do_out'||form.type=='sale_out'"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in warehouseOptions"
|
v-for="item in warehouseOptions"
|
||||||
|
@ -261,7 +261,7 @@ export default {
|
||||||
batchOptions: [],
|
batchOptions: [],
|
||||||
setFiltersVisible: false,
|
setFiltersVisible: false,
|
||||||
warehouseOptions: [],
|
warehouseOptions: [],
|
||||||
warehouseDisable: false,
|
// warehouseDisable: false,
|
||||||
selectBatchDisable: false,
|
selectBatchDisable: false,
|
||||||
assembShow: false,
|
assembShow: false,
|
||||||
selectMaterial: null,
|
selectMaterial: null,
|
||||||
|
@ -421,6 +421,7 @@ export default {
|
||||||
var that = this;
|
var that = this;
|
||||||
var type = this.form.type;
|
var type = this.form.type;
|
||||||
that.form.material = that.selectObj.id;
|
that.form.material = that.selectObj.id;
|
||||||
|
that.form.unit_price = that.selectObj.unit_price;
|
||||||
that.form.batch = that.cate=='helpso'?that.selectObj.bin_number_main:that.selectObj.batch;
|
that.form.batch = that.cate=='helpso'?that.selectObj.bin_number_main:that.selectObj.batch;
|
||||||
that.mTracking = that.selectObj.tracking;
|
that.mTracking = that.selectObj.tracking;
|
||||||
if (type == "do_in") {
|
if (type == "do_in") {
|
||||||
|
@ -448,7 +449,7 @@ export default {
|
||||||
this.form.mb = item.id;
|
this.form.mb = item.id;
|
||||||
this.form.count = Number(item.count);
|
this.form.count = Number(item.count);
|
||||||
this.form.warehouse = item.warehouse;
|
this.form.warehouse = item.warehouse;
|
||||||
this.warehouseDisable = true;
|
// this.warehouseDisable = true;
|
||||||
this.inputBatchDisable = true;
|
this.inputBatchDisable = true;
|
||||||
},
|
},
|
||||||
selectBatchClear() {
|
selectBatchClear() {
|
||||||
|
@ -457,7 +458,7 @@ export default {
|
||||||
this.form.batch = "";
|
this.form.batch = "";
|
||||||
this.form.count = "";
|
this.form.count = "";
|
||||||
this.form.warehouse = "";
|
this.form.warehouse = "";
|
||||||
this.warehouseDisable = false;
|
// this.warehouseDisable = false;
|
||||||
this.inputBatchDisable = false;
|
this.inputBatchDisable = false;
|
||||||
},
|
},
|
||||||
//显示
|
//显示
|
||||||
|
|
|
@ -108,7 +108,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
apiObj: null,
|
apiObj: null,
|
||||||
params: {with_mio:'yes',material__type:30,mio__state:20},
|
params: {with_mio:'yes',material__type:40,mio__state:20},
|
||||||
selection: [],
|
selection: [],
|
||||||
tableData:[],
|
tableData:[],
|
||||||
query: {
|
query: {
|
||||||
|
|
Loading…
Reference in New Issue