|
|
@ -96,8 +96,8 @@
|
|
|
|
<el-form-item label="仓库编码" prop="warehouseNo">
|
|
|
|
<el-form-item label="仓库编码" prop="warehouseNo">
|
|
|
|
<el-select v-model="queryParams1.warehouseNo" placeholder="请选择仓库编码" @change="forceUpdate()" clearable
|
|
|
|
<el-select v-model="queryParams1.warehouseNo" placeholder="请选择仓库编码" @change="forceUpdate()" clearable
|
|
|
|
filterable style="width: 230px">
|
|
|
|
filterable style="width: 230px">
|
|
|
|
<el-option v-for="item in Optionlistck" :key="item.stationNo" :label="item.stationname"
|
|
|
|
<el-option v-for="item in Optionlistck" :key="item.warehouseCode" :label="item.warehouseName"
|
|
|
|
:value="item.stationNo"></el-option>
|
|
|
|
:value="item.warehouseCode"></el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
@ -135,7 +135,7 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<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 {
|
|
|
|
export default {
|
|
|
|
name: "Outorder",
|
|
|
|
name: "Outorder",
|
|
|
@ -239,6 +239,18 @@ export default {
|
|
|
|
stationNo: 'LJ5',
|
|
|
|
stationNo: 'LJ5',
|
|
|
|
stationname: '榄菊5',
|
|
|
|
stationname: '榄菊5',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
stationNo: 'LJ6',
|
|
|
|
|
|
|
|
stationname: '榄菊6',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
stationNo: 'LJ7',
|
|
|
|
|
|
|
|
stationname: '榄菊7',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
stationNo: 'LJ8',
|
|
|
|
|
|
|
|
stationname: '榄菊8',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
selectedRows: [],
|
|
|
|
selectedRows: [],
|
|
|
@ -265,15 +277,24 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getList1() {
|
|
|
|
getList1() {
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
PurchaseOrderOutboundPda(this.queryParams1).then(response => {
|
|
|
|
PurchaseOrderOutboundPda(this.queryParams1).then(response => {//000100220987
|
|
|
|
this.addoutorderList = response.rows;
|
|
|
|
this.addoutorderList = response.data.list;
|
|
|
|
|
|
|
|
console.log(this.addoutorderList)
|
|
|
|
// this.total = response.total;
|
|
|
|
// this.total = response.total;
|
|
|
|
// this.loading = false;
|
|
|
|
// this.loading = false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getselect() {
|
|
|
|
getselect() {
|
|
|
|
getlistCK().then(response => {
|
|
|
|
// config.headers['poolName'] = localStorage.getItem('USER_POOL_NAME_CURRENT');
|
|
|
|
console.log(response)
|
|
|
|
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) {
|
|
|
|
handleSelectionChange1(selection) {
|
|
|
|