领用,发票,日月季年

20231126-yw
anthonywj 1 year ago
parent fdc60ee5f5
commit 84905777f7

@ -9,7 +9,7 @@ ENV = 'production'
#林纪裕cd
# VUE_APP_BASE_API = 'http://www.linjiyu.lol:81/UDI_WMS_MC/'
VUE_APP_BASE_API = 'http://www.linjiyu.lol:83/UDI_WMS_MC/'
# VUE_APP_BASE_API = 'http://www.linjiyu.lol:83/UDI_WMS_MC/'
# VUE_APP_BASE_API = 'http://127.0.0.1:9150/UDI_WMS_MC/'
@ -30,7 +30,7 @@ VUE_APP_BASE_API = 'http://www.linjiyu.lol:83/UDI_WMS_MC/'
# VUE_APP_BASE_API = 'http://192.168.0.242:9150/UDI_WMS_MC/'
# 平潭正式
# VUE_APP_BASE_API = 'http://55.55.0.62:9150/UDI_WMS_MC/'
VUE_APP_BASE_API = 'http://55.55.0.62:9150/UDI_WMS_MC/'
# 吴总测试服务器.

@ -39,6 +39,16 @@ export function findByFrom(query) {
}
//获取上级仓库
export function findByUp(query) {
return axios({
url: "/spms/inv/warehouse/findByUp",
method: "get",
params: query
});
}
export function filterSubByInv(query) {
return axios({
url: "/spms/inv/warehouse/findByUser",

@ -360,7 +360,7 @@
<el-divider direction="vertical"></el-divider>
<el-col span="5">
<el-select v-model="inputQuery.scanPreIn" style="width: 65%"
:disabled=" inputQuery.mainAction == 'WareHouseIn' || inputQuery.corpType !== 1 || inputQuery.advancePreIn==1 || inputQuery.vailInv==1"
:disabled=" inputQuery.advancePreIn==1 || inputQuery.vailInv==1"
@change="outChange"
placeholder="是否启用">
<el-option label="是" :value="true"></el-option>
@ -381,7 +381,7 @@
<el-divider direction="vertical"></el-divider>
<el-col span="5">
<el-select v-model="inputQuery.advancePreIn" style="width: 65%"
:disabled=" inputQuery.mainAction == 'WareHouseIn' || inputQuery.corpType !== 1 || inputQuery.scanPreIn==1 || inputQuery.vailInv==1"
:disabled=" inputQuery.scanPreIn==1 || inputQuery.vailInv==1"
@change="outChange"
placeholder="是否启用">
<el-option label="是" :value="true"></el-option>
@ -446,7 +446,7 @@
<el-divider direction="vertical"></el-divider>
<el-col span="5">
<el-select v-model="inputQuery.preInBack"
:disabled="inputQuery.scanPreIn ==false " @change="getPreInBack"
:disabled="inputQuery.scanPreIn ==false || inputQuery.corpType ==2 " @change="getPreInBack"
style="width: 65%"
placeholder="是否退回"
>

@ -13,7 +13,7 @@
</el-col>
<el-col :span="8">
<el-form-item class="query-form-item" label="发票代码:">
<el-input v-model="invoiceQuery.invoiceEncode" placeholder="请输入发票代码" style="width: 90%"
<el-input v-model="invoiceQuery.invoiceCode" placeholder="请输入发票代码" style="width: 90%"
clearable="true"
></el-input>
</el-form-item>

@ -348,10 +348,9 @@
>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column
label="发票码" width="150"
label="发票码" width="150"
prop="invoiceEncode"
></el-table-column>
<el-table-column
label="物资名称"
prop="cpmctymc" width="150"
@ -367,15 +366,15 @@
prop="batchNo"
show-overflow-tooltip
></el-table-column>
<el-table-column
label="发票代码" width="150"
prop="invoiceCode"
></el-table-column>
<el-table-column
label="机器编码" width="150"
prop="machineNo"
show-overflow-tooltip
></el-table-column>
<el-table-column
label="发票编码" width="150"
prop="invoiceCode"
></el-table-column>
<el-table-column
label="开票日期" width="150"
prop="invoiceDate"

@ -62,7 +62,7 @@
<el-form-item class="query-form-item" prop="targetInvCode" label="领用仓库:">
<el-select v-model="formData.targetInvCode" placeholder="请选择领用仓库" @change="getTargerType"
clearable="true"
:disabled="codeArray.length>0"
:disabled="true"
style="width: 100%"
>
<el-option
@ -178,7 +178,7 @@
<script>
import {getBusChange} from "@/api/basic/busTypeChange";
import {inserThrOrderWeb, updateReceive, updateReceiveDetail, delReceiveDetail} from "@/api/thrsys/thrOrderReceive";
import {filterSubByInv, findByFrom, findInvByUser} from "@/api/system/invSubWarehouse";
import {filterSubByInv, findByFrom, findByUp, findInvByUser} from "@/api/system/invSubWarehouse";
import dialogInvProduct from "../DialogSelectInvProduct";
import {getOrderDetail} from "@/api/inout/receiveOrder";
import {parseTime} from "@/utils/coTools";
@ -289,11 +289,13 @@ export default {
findFromInv() {
let cQuery = {
locInvCode: this.formData.invCode,
type:1,
};
findByFrom(cQuery)
findByUp(cQuery)
.then((response) => {
this.fromOptions = response.data || [];
if (this.fromOptions != null && this.fromOptions.length > 0) {
this.formData.targetInvCode = this.fromOptions[0].code;
}
})
.catch(() => {
});

@ -46,6 +46,7 @@
@current-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="仓库" type="invName"></el-table-column>
<el-table-column label="记录号" prop="recordKey"></el-table-column>
<el-table-column label="名称" prop="title"></el-table-column>
<el-table-column label="汇总日期" prop="date"></el-table-column>

@ -42,6 +42,7 @@
@current-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="仓库" type="invName"></el-table-column>
<el-table-column label="名称" prop="title"></el-table-column>
<el-table-column label="记录号" prop="recordKey"></el-table-column>
<el-table-column label="汇总日期" prop="date"></el-table-column>

@ -42,6 +42,7 @@
@current-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="仓库" type="invName"></el-table-column>
<el-table-column label="名称" prop="title"></el-table-column>
<el-table-column label="记录号" prop="recordKey"></el-table-column>
<el-table-column label="汇总日期" prop="date"></el-table-column>

@ -42,6 +42,7 @@
@current-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="仓库" type="invName"></el-table-column>
<el-table-column label="名称" prop="title"></el-table-column>
<el-table-column label="记录号" prop="recordKey"></el-table-column>
<el-table-column label="汇总日期" prop="date"></el-table-column>

Loading…
Cancel
Save