自助平台代码同步

wms_pzh
anthonyywj2 2 years ago
parent c6969d9cd9
commit 1bb8ff9ed6

@ -393,7 +393,7 @@ export default {
key: query,
onlyMain: true,
}
getOriginBusType(tQuery)
.then((response) => {
this.originTypes = response.data.list || [];

@ -54,6 +54,27 @@
</el-row>
<el-row :gutter="20" style="margin-top: -10px">
<el-col :span="3">
<div class="ao-text">
<span>采购类型</span>
</div>
</el-col>
<el-col :span="7">
<el-form-item prop="billType">
<el-select v-model="formData.billType" placeholder="请选择采购类型" style="width: 100%"
clearable>
<el-option
v-for="item in busTypes"
:key="item.originAction"
:label="item.originName"
:value="item.originAction">
<span style="float: left">{{ item.originName }}</span>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="3">
<div class="ao-text">
<span>采购仓库</span>
@ -85,6 +106,10 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20" style="margin-top: -10px">
<el-col :span="3">
<div class="ao-text">
<span>采购说明</span>
@ -197,6 +222,7 @@ import stockOrderNewSelectProduct from "../business/stockOrderNewSelectProduct";
import {inserThrOrderWeb, delApplyDetail, listApplyDetail} from "@/api/purchase/purPlan";
import {filterAllByUser} from "@/api/basic/invWarehouse";
import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {getBusChange} from "@/api/basic/busTypeChange";
export default {
name: "idQuery",
@ -371,7 +397,9 @@ export default {
if (this.orderEditor) {
this.detailLoading = true;
if (this.$isNotBlank(row.id)) {
delApplyDetail(row.id)
let delIds = [];
delIds.push(row.id)
delApplyDetail(delIds)
.then(response => {
this.detailLoading = false;
if (response.code === 20000) {
@ -450,6 +478,18 @@ export default {
this.formData.locStorageCode = item;
this.findSubInvs();
},
getBusType() {
let query = {
enable: false,
type: 3,
};
getBusChange(query)
.then((response) => {
this.busTypes = response.data.list || [];
})
.catch(() => {
});
},
},
filters: {},
mounted() {
@ -480,6 +520,7 @@ export default {
this.orderEditor = false;
}
this.getStorage();
this.getBusType();
this.codeArray = [];
},
};

File diff suppressed because it is too large Load Diff

@ -916,6 +916,7 @@ export default {
},
getBusType() {
let query = {
type: 1,
enable: false,
};
getBusChange(query)

Loading…
Cancel
Save