|
|
|
@ -96,8 +96,8 @@
|
|
|
|
|
<el-form-item label="仓库编码" prop="warehouseNo">
|
|
|
|
|
<el-select v-model="queryParams1.warehouseNo" placeholder="请选择仓库编码" @change="forceUpdate()" clearable
|
|
|
|
|
filterable style="width: 230px">
|
|
|
|
|
<el-option v-for="item in Optionlistck" :key="item.stationNo" :label="item.stationname"
|
|
|
|
|
:value="item.stationNo"></el-option>
|
|
|
|
|
<el-option v-for="item in Optionlistck" :key="item.warehouseCode" :label="item.warehouseName"
|
|
|
|
|
:value="item.warehouseCode"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
@ -135,7 +135,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { listOutorder, getOutorder, delOutorder, addOutorder, updateOutorder, getlistCK, addPurchaseOrderOutbound, PurchaseOrderOutboundPda } from "@/api/wms/outorder";
|
|
|
|
|
import { listOutorder, getOutorder, delOutorder, PurchaseOrderOutboundPda, addPurchaseOrderOutbound,getlistCK } from "@/api/wms/outorder";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "Outorder",
|
|
|
|
@ -239,6 +239,18 @@ export default {
|
|
|
|
|
stationNo: 'LJ5',
|
|
|
|
|
stationname: '榄菊5',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
stationNo: 'LJ6',
|
|
|
|
|
stationname: '榄菊6',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
stationNo: 'LJ7',
|
|
|
|
|
stationname: '榄菊7',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
stationNo: 'LJ8',
|
|
|
|
|
stationname: '榄菊8',
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
selectedRows: [],
|
|
|
|
@ -265,15 +277,24 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
getList1() {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
PurchaseOrderOutboundPda(this.queryParams1).then(response => {
|
|
|
|
|
this.addoutorderList = response.rows;
|
|
|
|
|
PurchaseOrderOutboundPda(this.queryParams1).then(response => {//000100220987
|
|
|
|
|
this.addoutorderList = response.data.list;
|
|
|
|
|
console.log(this.addoutorderList)
|
|
|
|
|
// this.total = response.total;
|
|
|
|
|
// this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getselect() {
|
|
|
|
|
getlistCK().then(response => {
|
|
|
|
|
console.log(response)
|
|
|
|
|
// config.headers['poolName'] = localStorage.getItem('USER_POOL_NAME_CURRENT');
|
|
|
|
|
let factoryCode=localStorage.getItem('USER_POOL_NAME_CURRENT').substring(3)
|
|
|
|
|
let params = { factoryCode: factoryCode }; // 构造一个包含工厂代码的对象
|
|
|
|
|
let paramsJSON = JSON.stringify(params); // 将对象转换为JSON字符串
|
|
|
|
|
console.log( factoryCode)
|
|
|
|
|
getlistCK(paramsJSON).then(response => {
|
|
|
|
|
this.Optionlistck=response.data
|
|
|
|
|
console.log(this.Optionlistck)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
handleSelectionChange1(selection) {
|
|
|
|
|