|
|
@@ -255,7 +255,7 @@
|
|
|
<span v-else>{{ row.dot }}</span>
|
|
|
</template>
|
|
|
<template slot="sendNum" slot-scope="{ row }">
|
|
|
- <el-popover v-if="reservoirArea==1" width="600" trigger="click">
|
|
|
+ <el-popover v-if="reservoirArea == 1" width="600" trigger="click">
|
|
|
<avue-crud :data="areaData" :option="areaOption"></avue-crud>
|
|
|
<span style="color: #409EFF;cursor: pointer" slot="reference" @click="viewArea(row)">{{ row.sendNum }}</span>
|
|
|
</el-popover>
|
|
|
@@ -563,6 +563,7 @@ export default {
|
|
|
name: "detailsPage",
|
|
|
data() {
|
|
|
return {
|
|
|
+ inventoryWarehouse: 0,
|
|
|
inventoryData2: [],
|
|
|
numberDecimal: 0,
|
|
|
goodsType: 1,
|
|
|
@@ -1531,6 +1532,10 @@ export default {
|
|
|
}
|
|
|
};
|
|
|
this.optionContacts = await this.getColumnData(this.getColumnName(269.6), this.optionContactsBack);
|
|
|
+ isProcurement({ param: "check.inventory.warehouse" }).then(res => {
|
|
|
+ // res.data.data === '1'
|
|
|
+ this.inventoryWarehouse = res.data.data;
|
|
|
+ });
|
|
|
isProcurement({ param: "whether.model" }).then(res => {
|
|
|
if (res.data.data == 1) {
|
|
|
this.findObject(this.optionContacts.column, "pattern").label = "规格型号1";
|
|
|
@@ -1768,7 +1773,7 @@ export default {
|
|
|
cname: this.selectionMultilist[0].goodsName,
|
|
|
current: 1,
|
|
|
size: 50,
|
|
|
- storageId:this.form.storageId
|
|
|
+ storageId: this.inventoryWarehouse == 1 ? this.form.storageId : null
|
|
|
}).then(res => {
|
|
|
this.inventoryData = res.data.data.records;
|
|
|
});
|