Merge remote-tracking branch 'origin/busUser' into wms_pzh

# Conflicts:
#	public/config.json
#	src/views/basic/BussinessTypeModify.vue
#	src/views/inout/IOAddOrder.vue
wms_pzh
x_z 3 years ago
commit c37f22b0f2

@ -1,7 +1,7 @@
{ {
"UDI_SYNC_SERVER_IP": "http://192.168.0.109:9991/", "UDI_SYNC_SERVER_IP": "http://192.168.0.166:9991/",
"BASE_URL": "http://192.168.0.109:9991", "BASE_URL":"http://192.168.0.166:9991",
"SERVER_IP": "http://192.168.0.109:9991", "SERVER_IP": "http://192.168.0.166:9991/",
"WEBSOCKET_URL": "ws://192.168.0.109:9991/UDI_WMS_MC/api/websocket/", "WEBSOCKET_URL": "ws://192.168.0.166:9991/UDI_WMS_MC/api/websocket/",
"hosp_name": "平和县医院" "hosp_name": "平和县医院"
} }

@ -24,3 +24,11 @@ export function findConfig(query) {
params: query params: query
}); });
} }
export function downloadNow(params) {
return axios({
url: "/spsync/download/now",
method: "get",
params: params
});
}

@ -22,3 +22,14 @@ export function formatDate (date, fmt) {
function padLeftZero (str) { function padLeftZero (str) {
return ('00' + str).substr(str.length); return ('00' + str).substr(str.length);
}; };
export function convertDate(date) {
if(date!=null && date!=undefined && date.length>5){
var time="20"+date.substring(0,2)+"-"+date.substring(2,4)+"-"+date.substring(4,6);
return time;
}else{
return date;
}
};

@ -79,17 +79,27 @@
<el-col :span="18" class="el-col"> <el-col :span="18" class="el-col">
<div class="text item"> <div class="text item">
<div class="itemTag" style="width: 200px;"> <div class="itemTag" style="width: 200px;">
<span>第三方系统IP地址:&nbsp;</span> <span v-text="inputQuery.thirdName + 'IP地址: '"></span>
</div> </div>
<el-input </div>
style="width: 70%;margin-left: -80px;" </el-col>
size="mini" </el-row>
splaceholder="请输入内容"
v-model="inputQuery.thirdSysUrl"
></el-input>
<el-button style="margin-left: 5px;" type="primary" @click="testThirdInter"></el-button> <el-row :gutter="20" class="el-row" type="flex">
<el-col :span="18" class="el-col" style="margin-left: 60px;">
<div class="text item">
<el-row>
<label style="width: 80px;">IP地址</label>
<el-input
style="width: 40%;"
size="mini"
splaceholder="请输入内容"
v-model="inputQuery.thirdSysUrl"
></el-input>
<el-button style="margin-left: 5px;" type="primary" @click="testThirdInter"></el-button>
</el-row>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
@ -122,7 +132,7 @@
<el-col :span="18" class="el-col"> <el-col :span="18" class="el-col">
<div class="text item"> <div class="text item">
<div class="itemTag" style="width: 200px;"> <div class="itemTag" style="width: 200px;">
<span>第三方服务接口授权:&nbsp;</span> <span v-text="inputQuery.thirdName + '接口授权:'">&nbsp;</span>
</div> </div>
</div> </div>
</el-col> </el-col>

@ -455,6 +455,7 @@ export default {
this.editQuery = JSON.parse(JSON.stringify(row)); this.editQuery = JSON.parse(JSON.stringify(row));
this.editChangeTypeVisible = true; this.editChangeTypeVisible = true;
this.getBusTypes(); this.getBusTypes();
this.findDefaultSubInv();
} }
, ,
hideForm() { hideForm() {
@ -527,6 +528,7 @@ export default {
}); });
}, },
findDefaultSubInv() { findDefaultSubInv() {
this.subInvList = []; this.subInvList = [];
let query = { let query = {
pcode: this.editQuery.defaultInv pcode: this.editQuery.defaultInv
@ -539,8 +541,7 @@ export default {
}); });
}, },
invChange() { invChange() {
if (this.$isNotBlank(this.inputQuery.defaultSubInv)) this.editQuery.defaultSubInv = null;
this.inputQuery.defaultSubInv = null;
this.findDefaultSubInv(); this.findDefaultSubInv();
}, },
}, },
@ -549,6 +550,7 @@ export default {
this.getTypes(); this.getTypes();
this.getList(); this.getList();
this.getStorage(); this.getStorage();
} }
} }
; ;

@ -171,36 +171,36 @@
<el-row :gutter="20" class="el-row" type="flex"> <el-row :gutter="20" class="el-row" type="flex">
<!-- <el-col :span="10" class="el-col">--> <!-- <el-col :span="10" class="el-col">-->
<!-- <div class="text item">--> <!-- <div class="text item">-->
<!-- <div class="itemTag">--> <!-- <div class="itemTag">-->
<!-- <span>补单默认仓库:&nbsp;</span>--> <!-- <span>补单默认仓库:&nbsp;</span>-->
<!-- </div>--> <!-- </div>-->
<!-- <el-select v-model="inputQuery.defaultInv" placeholder="默认仓库" clearable="true"--> <!-- <el-select v-model="inputQuery.defaultInv" placeholder="默认仓库" clearable="true"-->
<!-- @change="invChange"--> <!-- @change="invChange"-->
<!-- style="width: 30%"--> <!-- style="width: 30%"-->
<!-- size="small">--> <!-- size="small">-->
<!-- <el-option--> <!-- <el-option-->
<!-- v-for="item in storageList"--> <!-- v-for="item in storageList"-->
<!-- :key="item.name"--> <!-- :key="item.name"-->
<!-- :label="item.name"--> <!-- :label="item.name"-->
<!-- :value="item.code">--> <!-- :value="item.code">-->
<!-- <span style="float: left">{{ item.name }}</span>--> <!-- <span style="float: left">{{ item.name }}</span>-->
<!-- </el-option>--> <!-- </el-option>-->
<!-- </el-select>--> <!-- </el-select>-->
<!-- <el-select v-model="inputQuery.defaultSubInv" placeholder="默认分库" clearable="true"--> <!-- <el-select v-model="inputQuery.defaultSubInv" placeholder="默认分库" clearable="true"-->
<!-- style="width: 30%"--> <!-- style="width: 30%"-->
<!-- size="small">--> <!-- size="small">-->
<!-- <el-option--> <!-- <el-option-->
<!-- v-for="item in subInvList"--> <!-- v-for="item in subInvList"-->
<!-- :key="item.name"--> <!-- :key="item.name"-->
<!-- :label="item.name"--> <!-- :label="item.name"-->
<!-- :value="item.code">--> <!-- :value="item.code">-->
<!-- <span style="float: left">{{ item.name }}</span>--> <!-- <span style="float: left">{{ item.name }}</span>-->
<!-- </el-option>--> <!-- </el-option>-->
<!-- </el-select>--> <!-- </el-select>-->
<!-- </div>--> <!-- </div>-->
<!-- </el-col>--> <!-- </el-col>-->
<el-col :span="10" class="el-col"> <el-col :span="10" class="el-col">
<div class="text item"> <div class="text item">
@ -223,8 +223,7 @@
<div class="text item" style="margin-top: 6px"> <div class="text item" style="margin-top: 6px">
<el-checkbox v-model="inputQuery.enable" :disabled="inputQuery.localAction==null"> <el-checkbox v-model="inputQuery.enable" :disabled="inputQuery.localAction==null"></el-checkbox>
</el-checkbox>
<el-checkbox v-model="inputQuery.genUnit" :disabled="inputQuery.corpType !=2"> <el-checkbox v-model="inputQuery.genUnit" :disabled="inputQuery.corpType !=2">
</el-checkbox> </el-checkbox>
<el-checkbox v-model="inputQuery.useDyCount" :disabled="true">使 <el-checkbox v-model="inputQuery.useDyCount" :disabled="true">使
@ -257,8 +256,7 @@
</el-checkbox> </el-checkbox>
<el-checkbox v-model="inputQuery.scanPreIn" :disabled="inputQuery.corpType!='2'"> <el-checkbox v-model="inputQuery.scanPreIn" :disabled="inputQuery.corpType!='2'">
</el-checkbox> </el-checkbox>
<el-checkbox v-model="inputQuery.vailInv" :disabled="inputQuery.mainAction!='WareHouseOut'"> <el-checkbox v-model="inputQuery.vailInv" :disabled="inputQuery.mainAction!='WareHouseOut'">
是否允许无库存出库
</el-checkbox> </el-checkbox>
<el-checkbox v-model="inputQuery.codeFillCheck">UDI <el-checkbox v-model="inputQuery.codeFillCheck">UDI
</el-checkbox> </el-checkbox>

@ -174,6 +174,7 @@
:data="detailList" :data="detailList"
style="width: 100%; margin-top: 20px" style="width: 100%; margin-top: 20px"
border border
highlight-current-row
@current-change="handleDetail" @current-change="handleDetail"
> >
<el-table-column <el-table-column

@ -236,6 +236,7 @@
style="width: 100%; " style="width: 100%; "
border border
key="3" key="3"
highlight-current-row
@current-change="handleDetail" @current-change="handleDetail"
> >
<el-table-column <el-table-column
@ -1029,6 +1030,7 @@ export default {
productType: null, productType: null,
editQuery: null, editQuery: null,
productRemarkSet: {}, productRemarkSet: {},
pId: 0,
relevanceEdit: { relevanceEdit: {
id: null, id: null,
thirdId: "", thirdId: "",
@ -1039,6 +1041,7 @@ export default {
allowNoBatch: null, allowNoBatch: null,
allowNoExpire: null, allowNoExpire: null,
allowNoProduct: null, allowNoProduct: null,
pId: null,
}, },
defaultSys: null, defaultSys: null,
isImport: false, isImport: false,
@ -1144,6 +1147,8 @@ export default {
this.loading = false; this.loading = false;
this.detailList = response.data || []; this.detailList = response.data || [];
this.detailList.forEach((item, index, array) => { this.detailList.forEach((item, index, array) => {
this.detailList[index].isAdavence=item.adavence
this.detailList[index].isDisable=item.disable
if (item.zxxsbzbhsydysl > 1) { if (item.zxxsbzbhsydysl > 1) {
this.isUseDyCheck = true; this.isUseDyCheck = true;
} }
@ -1360,6 +1365,7 @@ export default {
this.thisData = row; this.thisData = row;
this.editDialogVisible = true; this.editDialogVisible = true;
this.editQuery = row; this.editQuery = row;
this.pId=row.id;
this.relevanceEdit = { this.relevanceEdit = {
id: row.id, id: row.id,
// thirdId: row.thirdId, // thirdId: row.thirdId,
@ -1472,6 +1478,7 @@ export default {
this.relevanceEdit.isLock = this.editQuery.isLock; this.relevanceEdit.isLock = this.editQuery.isLock;
this.relevanceEdit.isAdavence = this.editQuery.isAdavence; this.relevanceEdit.isAdavence = this.editQuery.isAdavence;
this.relevanceEdit = this.editQuery; this.relevanceEdit = this.editQuery;
this.relevanceEdit.pid = this.pId;
if (this.checked == true) { if (this.checked == true) {
this.relevanceEdit.isUseDy = 1; this.relevanceEdit.isUseDy = 1;
} else { } else {
@ -1556,7 +1563,6 @@ export default {
selectUdiVersion, selectUdiVersion,
}, },
created() { created() {
this.findBasicProductSet(); this.findBasicProductSet();
this.getList(); this.getList();
this.selectSysParam(); this.selectSysParam();

@ -207,6 +207,7 @@
:data="detailList" :data="detailList"
style="width: 100%; margin-top: 20px" style="width: 100%; margin-top: 20px"
border border
highlight-current-row
key="3" key="3"
@current-change="handleDetail" @current-change="handleDetail"
> >

@ -184,6 +184,7 @@
style="width: 100%" style="width: 100%"
@row-click="intentDetail" @row-click="intentDetail"
v-loading="loading" v-loading="loading"
highlight-current-row
:row-class-name="tableRowClassName" :row-class-name="tableRowClassName"
@selection-change="handleSelectionUdiChange" @selection-change="handleSelectionUdiChange"
> >

@ -69,6 +69,7 @@
style="width: 100%" style="width: 100%"
@row-click="intentDetail" @row-click="intentDetail"
v-loading="loading" v-loading="loading"
highlight-current-row
:row-class-name="tableRowClassName" :row-class-name="tableRowClassName"
@selection-change="handleSelectionUdiChange" @selection-change="handleSelectionUdiChange"
> >

@ -421,6 +421,9 @@ export default {
}, },
created() { created() {
if(this.editQuery.isUseDy==1){
this.checked=true
}
let ttquery = { let ttquery = {
uuid: this.editQuery.uuid, uuid: this.editQuery.uuid,
page: 1, page: 1,

@ -1144,7 +1144,6 @@ export default {
this.subFormVisible = false; this.subFormVisible = false;
} else { } else {
this.$message.error(response.message); this.$message.error(response.message);
this.subFormVisible = false;
} }
}).catch(() => { }).catch(() => {
this.subFormVisible = false; this.subFormVisible = false;
@ -1309,6 +1308,7 @@ export default {
}, },
changeLevel(row) { changeLevel(row) {
this.formData.pcode = null; this.formData.pcode = null;
this.formData.spUse = false;
//TODO //TODO
this.getParentInv(this.formData.level); this.getParentInv(this.formData.level);
}, },
@ -1540,11 +1540,15 @@ export default {
this.getBussinessType(1,action); this.getBussinessType(1,action);
}, },
selsectBussinessType(row){ selsectBussinessType(row){
if (this.currentRow.id !== row.id) {
this.$message.error("请先选择需要操作的分库!");
return;
}
var busQuery = { var busQuery = {
code: this.currentCode, code: this.currentCode,
page: 1, page: 1,
limit: 50 limit: 50
} };
warehouseBussinessTypeList(busQuery).then((res) => { warehouseBussinessTypeList(busQuery).then((res) => {
this.userBussinessTypeList = res.data.list; this.userBussinessTypeList = res.data.list;

@ -195,8 +195,16 @@
<el-table-column label="包装规格" width="200" prop="spec"></el-table-column> <el-table-column label="包装规格" width="200" prop="spec"></el-table-column>
<el-table-column label="批次号" width="100" prop="batchNo"></el-table-column> <el-table-column label="批次号" width="100" prop="batchNo"></el-table-column>
<el-table-column label="生产日期" width="120" prop="productDate"></el-table-column> <el-table-column label="生产日期" width="120" prop="productDate">
<el-table-column label="失效日期" width="120" prop="expireDate"></el-table-column> <template slot-scope="scope">
<span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column label="失效日期" width="120" prop="expireDate">
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template>
</el-table-column>
<el-table-column label="单据数量" width="100" prop="count"></el-table-column> <el-table-column label="单据数量" width="100" prop="count"></el-table-column>
<el-table-column label="实际数量" width="100" prop="reCount"></el-table-column> <el-table-column label="实际数量" width="100" prop="reCount"></el-table-column>
<el-table-column label="价格" width="120" prop="price"></el-table-column> <el-table-column label="价格" width="120" prop="price"></el-table-column>
@ -225,6 +233,7 @@ import {parseTime} from "@/filtres";
import {getLocalJoinByUser} from "@/api/basic/busLocalType"; import {getLocalJoinByUser} from "@/api/basic/busLocalType";
import {stockOrderChange, stockOrderDetail} from "@/api/inout/stockOrder"; import {stockOrderChange, stockOrderDetail} from "@/api/inout/stockOrder";
import {filterSubByInv} from "@/api/basic/invSubWarehouse"; import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {convertDate} from "@/utils/date"
export default { export default {
name: "DialogcChangeNewOrder", name: "DialogcChangeNewOrder",
@ -240,6 +249,7 @@ export default {
}, },
data() { data() {
return { return {
convertDateFun:convertDate,
formData: { formData: {
corpOrderId: "", corpOrderId: "",
code: "", code: "",

@ -167,8 +167,16 @@
<el-table-column label="产品通用名" width="150" prop="productName"></el-table-column> <el-table-column label="产品通用名" width="150" prop="productName"></el-table-column>
<el-table-column label="规格型号" width="150" prop="spec"></el-table-column> <el-table-column label="规格型号" width="150" prop="spec"></el-table-column>
<el-table-column label="批次号" width="150" prop="batchNo"></el-table-column> <el-table-column label="批次号" width="150" prop="batchNo"></el-table-column>
<el-table-column label="生产日期" width="150" prop="productDate"></el-table-column> <el-table-column label="生产日期" width="150" prop="productDate">
<el-table-column label="失效日期" width="150" prop="expireDate"></el-table-column> <template slot-scope="scope">
<span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column label="失效日期" width="150" prop="expireDate">
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template>
</el-table-column>
<el-table-column label="实际数量" width="150" prop="reCount"></el-table-column> <el-table-column label="实际数量" width="150" prop="reCount"></el-table-column>
<el-table-column label="单据数量" width="150" prop="count"></el-table-column> <el-table-column label="单据数量" width="150" prop="count"></el-table-column>
<el-table-column label="价格" width="150" prop="price"></el-table-column> <el-table-column label="价格" width="150" prop="price"></el-table-column>
@ -372,11 +380,13 @@ import store from "../../store";
import {getLocalJoinBusType, getLocalJoinByUser} from "../../api/basic/busLocalType"; import {getLocalJoinBusType, getLocalJoinByUser} from "../../api/basic/busLocalType";
import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse"; import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse";
import {filterSubByInv} from "@/api/basic/invSubWarehouse"; import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {convertDate} from "@/utils/date"
export default { export default {
name: "stockOrder", name: "stockOrder",
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
billType: null, billType: null,
corpName: null, corpName: null,

@ -152,13 +152,6 @@
@click.native="rollback(scope.row)" @click.native="rollback(scope.row)"
>撤回 >撤回
</el-button> --> </el-button> -->
<el-button
v-if="scope.row.uploadFlag"
type="text"
size="small"
@click.native.stop="uploadSpms(scope.row)"
>提交
</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -191,10 +184,18 @@
<el-table-column type="index" label="序号" width="50"></el-table-column> <el-table-column type="index" label="序号" width="50"></el-table-column>
<el-table-column label="产品通用名" width="200" prop="productName"></el-table-column> <el-table-column label="产品通用名" width="200" prop="productName"></el-table-column>
<el-table-column label="包装规格" width="200" prop="spec"></el-table-column> <el-table-column label="包装规格" width="200" prop="spec"></el-table-column>
<el-table-column label="注册/备案凭证号" width="150" prop="zczbhhzbapzbh"></el-table-column>
<el-table-column label="批次号" width="100" prop="batchNo"></el-table-column> <el-table-column label="批次号" width="100" prop="batchNo"></el-table-column>
<el-table-column label="生产日期" width="120" prop="productDate">
<el-table-column label="生产日期" width="120" prop="productDate"></el-table-column> <template slot-scope="scope">
<el-table-column label="失效日期" width="120" prop="expireDate"></el-table-column> <span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column label="失效日期" width="120" prop="expireDate">
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template>
</el-table-column>
<el-table-column label="单据数量" width="100" prop="count"></el-table-column> <el-table-column label="单据数量" width="100" prop="count"></el-table-column>
<el-table-column label="实际数量" width="100" prop="reCount"></el-table-column> <el-table-column label="实际数量" width="100" prop="reCount"></el-table-column>
<el-table-column label="价格" width="120" prop="price"></el-table-column> <el-table-column label="价格" width="120" prop="price"></el-table-column>
@ -353,11 +354,13 @@ import {filterAllByUser} from "@/api/basic/invWarehouse";
import StockOrderEdit from "@/views/business/stockOrderEdit"; import StockOrderEdit from "@/views/business/stockOrderEdit";
import {filterSubByInv} from "@/api/basic/invSubWarehouse"; import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {uploadSpms} from "@/api/inout/order"; import {uploadSpms} from "@/api/inout/order";
import {convertDate} from "@/utils/date"
export default { export default {
name: "stockOrderDelSearch", name: "stockOrderDelSearch",
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
billType: null, billType: null,
corpName: null, corpName: null,

@ -122,12 +122,20 @@
label="生产日期" label="生产日期"
prop="productDate" prop="productDate"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
></el-table-column> >
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column <el-table-column
label="失效日期" label="失效日期"
prop="expireDate" prop="expireDate"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
></el-table-column> >
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template>
</el-table-column>
<el-table-column <el-table-column
label="单据数量" label="单据数量"
prop="erpCount" prop="erpCount"
@ -227,11 +235,13 @@ import store from "../../store";
import {getBussinessType} from "../../api/basic/bussinessType"; import {getBussinessType} from "../../api/basic/bussinessType";
import {filterAllByUser} from "../../api/basic/invWarehouse"; import {filterAllByUser} from "../../api/basic/invWarehouse";
import codeReplace from "./codeReplace"; import codeReplace from "./codeReplace";
import {convertDate} from "@/utils/date";
export default { export default {
name: "stockOrderDelete", name: "stockOrderDelete",
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
billNo: "", billNo: "",
page: 1, page: 1,

@ -154,8 +154,16 @@
<el-table-column label="产品通用名" width="150" prop="productName"></el-table-column> <el-table-column label="产品通用名" width="150" prop="productName"></el-table-column>
<el-table-column label="规格型号" width="150" prop="spec"></el-table-column> <el-table-column label="规格型号" width="150" prop="spec"></el-table-column>
<el-table-column label="批次号" width="150" prop="batchNo"></el-table-column> <el-table-column label="批次号" width="150" prop="batchNo"></el-table-column>
<el-table-column label="生产日期" width="150" prop="productDate"></el-table-column> <el-table-column label="生产日期" width="120" prop="productDate">
<el-table-column label="失效日期" width="150" prop="expireDate"></el-table-column> <template slot-scope="scope">
<span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column label="失效日期" width="120" prop="expireDate">
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template>
</el-table-column>
<el-table-column label="实际数量" width="150" prop="reCount"></el-table-column> <el-table-column label="实际数量" width="150" prop="reCount"></el-table-column>
<el-table-column label="单据数量" width="150" prop="count"></el-table-column> <el-table-column label="单据数量" width="150" prop="count"></el-table-column>
<el-table-column label="价格" width="150" prop="price"></el-table-column> <el-table-column label="价格" width="150" prop="price"></el-table-column>
@ -492,11 +500,13 @@ import {inspectionStockOrderPDFFromTemplateFile, stockOrderPDFFromTemplateFile}
import {selectSysParamByKey} from "@/api/param/systemParamConfig"; import {selectSysParamByKey} from "@/api/param/systemParamConfig";
import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse"; import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse";
import {filterSubByInv} from "@/api/basic/invSubWarehouse"; import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {convertDate} from "@/utils/date"
export default { export default {
name: "stockOrderEditor", name: "stockOrderEditor",
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
billType: null, billType: null,
corpName: null, corpName: null,

@ -154,8 +154,16 @@
<el-table-column label="产品通用名" width="150" prop="productName"></el-table-column> <el-table-column label="产品通用名" width="150" prop="productName"></el-table-column>
<el-table-column label="规格型号" width="150" prop="spec"></el-table-column> <el-table-column label="规格型号" width="150" prop="spec"></el-table-column>
<el-table-column label="批次号" width="150" prop="batchNo"></el-table-column> <el-table-column label="批次号" width="150" prop="batchNo"></el-table-column>
<el-table-column label="生产日期" width="150" prop="productDate"></el-table-column> <el-table-column label="生产日期" width="150" prop="productDate">
<el-table-column label="失效日期" width="150" prop="expireDate"></el-table-column> <template slot-scope="scope">
<span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column label="失效日期" width="150" prop="expireDate">
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template>
</el-table-column>
<el-table-column label="实际数量" width="150" prop="reCount"></el-table-column> <el-table-column label="实际数量" width="150" prop="reCount"></el-table-column>
<el-table-column label="单据数量" width="150" prop="count"></el-table-column> <el-table-column label="单据数量" width="150" prop="count"></el-table-column>
<el-table-column label="价格" width="150" prop="price"></el-table-column> <el-table-column label="价格" width="150" prop="price"></el-table-column>
@ -511,11 +519,13 @@ import {inspectionStockOrderPDFFromTemplateFile, stockOrderPDFFromTemplateFile}
import {selectSysParamByKey} from "@/api/param/systemParamConfig"; import {selectSysParamByKey} from "@/api/param/systemParamConfig";
import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse"; import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse";
import {filterSubByInv} from "@/api/basic/invSubWarehouse"; import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {convertDate} from "@/utils/date"
export default { export default {
name: "stockOrderEditor", name: "stockOrderEditor",
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
billType: null, billType: null,
corpName: null, corpName: null,

@ -162,8 +162,16 @@
<el-table-column label="产品通用名" width="150" prop="productName"></el-table-column> <el-table-column label="产品通用名" width="150" prop="productName"></el-table-column>
<el-table-column label="规格型号" width="150" prop="spec"></el-table-column> <el-table-column label="规格型号" width="150" prop="spec"></el-table-column>
<el-table-column label="批次号" width="150" prop="batchNo"></el-table-column> <el-table-column label="批次号" width="150" prop="batchNo"></el-table-column>
<el-table-column label="生产日期" width="150" prop="productDate"></el-table-column> <el-table-column label="生产日期" width="150" prop="productDate">
<el-table-column label="失效日期" width="150" prop="expireDate"></el-table-column> <template slot-scope="scope">
<span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column label="失效日期" width="150" prop="expireDate">
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template>
</el-table-column>
<el-table-column label="单据数量" width="150" prop="count"></el-table-column> <el-table-column label="单据数量" width="150" prop="count"></el-table-column>
<!-- <el-table-column label="实际数量" width="150" prop="reCount"></el-table-column>--> <!-- <el-table-column label="实际数量" width="150" prop="reCount"></el-table-column>-->
<el-table-column label="价格" width="150" prop="price"></el-table-column> <el-table-column label="价格" width="150" prop="price"></el-table-column>
@ -467,11 +475,13 @@ import {getLocalJoinBusType, getLocalJoinByUser} from "../../api/basic/busLocalT
import {selectSysParamByKey} from "../../api/param/systemParamConfig"; import {selectSysParamByKey} from "../../api/param/systemParamConfig";
import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse"; import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse";
import {filterSubByInv} from "@/api/basic/invSubWarehouse"; import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {convertDate} from "@/utils/date"
export default { export default {
name: "stockOrder", name: "stockOrder",
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
billType: null, billType: null,
corpName: null, corpName: null,

@ -1215,9 +1215,9 @@ export default {
// }, // },
getBusType() { getBusType() {
if( this.formData.id==null){ if(this.$isBlank(this.idQuery.id)){
this.formData.billType=null; this.formData.billType=null;
} }
let query = { let query = {
code: this.formData.invWarehouseCode, code: this.formData.invWarehouseCode,
enabled: true, enabled: true,
@ -1383,6 +1383,13 @@ export default {
if(this.formData.invWarehouseCode!=null){ if(this.formData.invWarehouseCode!=null){
this.getBusType(); this.getBusType();
} }
//
if(this.formData.locStorageCode!=null){
this.findStorageMethod();
}
this.getStorage(); this.getStorage();
this.findSubInvByInv(); this.findSubInvByInv();
this.findSubStorageMethod(); this.findSubStorageMethod();

@ -178,15 +178,14 @@ export default {
data() { data() {
return { return {
listQuery: { listQuery: {
billNo: "", udiCode: null,
unicode: null,
cpmctymc: null,
ggxh: null,
ylqxzcrbarmc: null,
thrPiId: null,
page: 1, page: 1,
limit: 10, limit: 10
},
combineQuery: {
thirdId: "",
relId: "",
erpName: "",
keys: [],
}, },
ids:[], ids:[],
radioCheck: null, radioCheck: null,
@ -244,12 +243,19 @@ export default {
this.$router.push({ this.$router.push({
path: "", path: "",
}); });
this.listQuery.udiCode=null this.listQuery = {
this.listQuery.unionCode=null udiCode: null,
this.listQuery.cpmctymc=null unicode: null,
this.listQuery.ggxh=null cpmctymc: null,
this.listQuery.ylqxzcrbarmc=null ggxh: null,
this.listQuery.thrPiId=null ylqxzcrbarmc: null,
thrPiId: null,
page: 1,
limit: 10
}
this.multipleSelection = [];
this.radioCheck = null;
this.currentRow = null;
this.getList(); this.getList();
}, },
tableRowClassName({row}) { tableRowClassName({row}) {
@ -289,6 +295,10 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
this.listQuery.customerId = store.getters.customerId; this.listQuery.customerId = store.getters.customerId;
if( this.data.companyName!=undefined && this.data.companyName!=null ){
this.listQuery.companyName = this.data.companyName;
}
if (this.filterType != null && this.filterType === 2) { if (this.filterType != null && this.filterType === 2) {
filterAllProduct(this.listQuery) filterAllProduct(this.listQuery)

@ -168,10 +168,18 @@
<el-table-column type="index" label="序号" width="50"></el-table-column> <el-table-column type="index" label="序号" width="50"></el-table-column>
<el-table-column label="产品通用名" width="200" prop="productName"></el-table-column> <el-table-column label="产品通用名" width="200" prop="productName"></el-table-column>
<el-table-column label="包装规格" width="200" prop="spec"></el-table-column> <el-table-column label="包装规格" width="200" prop="spec"></el-table-column>
<el-table-column label="注册/备案凭证号" width="150" prop="zczbhhzbapzbh"></el-table-column>
<el-table-column label="批次号" width="100" prop="batchNo"></el-table-column> <el-table-column label="批次号" width="100" prop="batchNo"></el-table-column>
<el-table-column label="生产日期" width="120" prop="productDate">
<el-table-column label="生产日期" width="120" prop="productDate"></el-table-column> <template slot-scope="scope">
<el-table-column label="失效日期" width="120" prop="expireDate"></el-table-column> <span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column label="失效日期" width="120" prop="expireDate">
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template>
</el-table-column>
<el-table-column label="单据数量" width="100" prop="count"></el-table-column> <el-table-column label="单据数量" width="100" prop="count"></el-table-column>
<el-table-column label="实际数量" width="100" prop="reCount"></el-table-column> <el-table-column label="实际数量" width="100" prop="reCount"></el-table-column>
<el-table-column label="价格" width="120" prop="price"></el-table-column> <el-table-column label="价格" width="120" prop="price"></el-table-column>
@ -495,11 +503,13 @@ import {getLocalJoinBusType, getLocalJoinByUser} from "../../api/basic/busLocalT
import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse"; import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse";
import StockOrderEdit from "@/views/business/stockOrderEdit"; import StockOrderEdit from "@/views/business/stockOrderEdit";
import {filterSubByInv} from "@/api/basic/invSubWarehouse"; import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {convertDate} from "@/utils/date"
export default { export default {
name: "stockOrderSearch", name: "stockOrderSearch",
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
billType: null, billType: null,
corpName: null, corpName: null,
@ -1065,10 +1075,11 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
let param = {billNo: row.billNo}; let param = {billNo: row.billNo,contrastStatus:2};
rollbackOrder(param).then((res) => { rollbackOrder(param).then((res) => {
if (res.code === 20000) { if (res.code === 20000) {
this.$message.success("回退成功"); this.$message.success("回退成功");
this.getList();
} }
}) })
}).catch(() => { }).catch(() => {

@ -148,8 +148,16 @@
<el-table-column label="产品通用名" width="150" prop="productName"></el-table-column> <el-table-column label="产品通用名" width="150" prop="productName"></el-table-column>
<el-table-column label="规格型号" width="150" prop="spec"></el-table-column> <el-table-column label="规格型号" width="150" prop="spec"></el-table-column>
<el-table-column label="批次号" width="150" prop="batchNo"></el-table-column> <el-table-column label="批次号" width="150" prop="batchNo"></el-table-column>
<el-table-column label="生产日期" width="150" prop="productDate"></el-table-column> <el-table-column label="生产日期" width="150" prop="productDate">
<el-table-column label="失效日期" width="150" prop="expireDate"></el-table-column> <template slot-scope="scope">
<span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column label="失效日期" width="150" prop="expireDate">
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template>
</el-table-column>
<el-table-column label="实际数量" width="150" prop="reCount"></el-table-column> <el-table-column label="实际数量" width="150" prop="reCount"></el-table-column>
<el-table-column label="单据数量" width="150" prop="count"></el-table-column> <el-table-column label="单据数量" width="150" prop="count"></el-table-column>
<el-table-column label="价格" width="150" prop="price"></el-table-column> <el-table-column label="价格" width="150" prop="price"></el-table-column>
@ -352,11 +360,13 @@ import store from "../../store";
import {getLocalJoinBusType, getLocalJoinByUser} from "../../api/basic/busLocalType"; import {getLocalJoinBusType, getLocalJoinByUser} from "../../api/basic/busLocalType";
import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse"; import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse";
import {filterSubByInv} from "@/api/basic/invSubWarehouse"; import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {convertDate} from "@/utils/date"
export default { export default {
name: "stockOrderWaitCheck", name: "stockOrderWaitCheck",
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
billType: null, billType: null,
corpName: null, corpName: null,

@ -918,6 +918,7 @@ export default {
this.$router.go(-1); this.$router.go(-1);
}, },
getBusType() { getBusType() {
this.formData.billType=null;
let query = { let query = {
code: this.formData.invWarehouseCode, code: this.formData.invWarehouseCode,
enabled: true, enabled: true,
@ -965,6 +966,7 @@ export default {
} }
, ,
findMethod(query) { findMethod(query) {
this.fromOptions = []; this.fromOptions = [];
let cQuery = { let cQuery = {
key: query, key: query,

@ -289,13 +289,21 @@
prop="productDate" prop="productDate"
width="100" width="100"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
></el-table-column> >
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column <el-table-column
label="失效日期" label="失效日期"
prop="expireDate" prop="expireDate"
width="100" width="100"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
></el-table-column> >
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template>
</el-table-column>
<el-table-column <el-table-column
label="单据数量" label="单据数量"
prop="reCount" prop="reCount"
@ -487,6 +495,7 @@ import {filterAllByUser} from "@/api/basic/invWarehouse";
import {getLocalJoinByUser} from "@/api/basic/busLocalType"; import {getLocalJoinByUser} from "@/api/basic/busLocalType";
import {filterSubByInv} from "@/api/basic/invSubWarehouse"; import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {selectSysParamByKey} from "@/api/param/systemParamConfig"; import {selectSysParamByKey} from "@/api/param/systemParamConfig";
import {convertDate} from "@/utils/date"
const formJson = { const formJson = {
@ -505,6 +514,7 @@ export default {
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
page: 1, page: 1,
limit: 20, limit: 20,

@ -200,12 +200,17 @@
label="生产日期" label="生产日期"
prop="productDate" prop="productDate"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
></el-table-column> ><template slot-scope="scope">
<span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column <el-table-column
label="失效日期" label="失效日期"
prop="expireDate" prop="expireDate"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
></el-table-column> > <template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template></el-table-column>
<el-table-column <el-table-column
label="单据数量" label="单据数量"
prop="erpCount" prop="erpCount"
@ -343,6 +348,7 @@ import {filterAllByUser} from "@/api/basic/invWarehouse";
import {getLocalJoinByUser} from "@/api/basic/busLocalType"; import {getLocalJoinByUser} from "@/api/basic/busLocalType";
import {filterSubByInv} from "@/api/basic/invSubWarehouse"; import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain"; import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain";
import {convertDate} from "@/utils/date"
const formJson = { const formJson = {
site_id: "", site_id: "",
@ -360,6 +366,7 @@ export default {
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
page: 1, page: 1,
limit: 10, limit: 10,

@ -114,12 +114,20 @@
label="生产日期" label="生产日期"
prop="productDate" prop="productDate"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
></el-table-column> >
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column <el-table-column
label="失效日期" label="失效日期"
prop="expireDate" prop="expireDate"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
></el-table-column> >
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template>
</el-table-column>
<el-table-column <el-table-column
label="单据数量" label="单据数量"
prop="erpCount" prop="erpCount"
@ -223,11 +231,13 @@ import {getBussinessType} from "../../api/basic/bussinessType";
import {filterAllByUser} from "@/api/basic/invWarehouse"; import {filterAllByUser} from "@/api/basic/invWarehouse";
import codeReplace from "../business/codeReplace"; import codeReplace from "../business/codeReplace";
import {selectSysParamByKey} from "@/api/param/systemParamConfig"; import {selectSysParamByKey} from "@/api/param/systemParamConfig";
import {convertDate} from "@/utils/date"
export default { export default {
name: "stockOrderDelete", name: "stockOrderDelete",
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
billNo: "", billNo: "",
page: 1, page: 1,

@ -185,12 +185,12 @@ export default {
getCodeList() { getCodeList() {
this.loading = true; this.loading = true;
this.query.orderIdFk = this.idQuery.orderIdFk; this.query.orderIdFk = this.idQuery.orderIdFk;
debugger
let query = { // let query = {
orderIdFk: this.idQuery.orderIdFk, // orderIdFk: this.idQuery.orderIdFk,
code:this.query.code // code:this.query.code
} // }
filterDetailProducts(query) // filterDetailProducts(this.query) //
.then((response) => { .then((response) => {
this.loading = false; this.loading = false;
this.codeArry = response.data.list || []; this.codeArry = response.data.list || [];

@ -7,7 +7,7 @@
<el-form-item class="query-form-item"> <el-form-item class="query-form-item">
<el-input <el-input
v-model="filterQuery.recordKey" v-model="filterQuery.recordKey"
placeholder="内部码打印单" placeholder="据号"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
@ -270,13 +270,11 @@ export default {
listInnerOrderDetail(query) // listInnerOrderDetail(query) //
.then((response) => { .then((response) => {
this.detailList = response.data.list || []; this.detailList = response.data.list || [];
this.total = response.data.total || 0;
this.loading = false; this.loading = false;
}) })
.catch(() => { .catch(() => {
this.loading = false; this.loading = false;
this.detailList = []; this.detailList = [];
this.total = 0;
}); });
}, },
submitOrder(row) { submitOrder(row) {

@ -39,16 +39,8 @@
</div> </div>
</el-col> </el-col>
<el-col :span="7"> <el-col :span="7">
<el-form-item prop="billdate"> <el-form-item prop="billNo">
<el-date-picker <el-input v-model="formData.billDate" auto-complete="off" :disabled="true"></el-input>
v-model="formData.billDate"
type="datetime"
placeholder="选择日期"
style="width: 100%"
:clearable="false"
value-format="yyyy-MM-dd HH:mm:ss"
>
</el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -189,6 +181,7 @@
import draggable from "vuedraggable"; import draggable from "vuedraggable";
import stockOrderNewSelectProduct from "../business/stockOrderNewSelectProduct"; import stockOrderNewSelectProduct from "../business/stockOrderNewSelectProduct";
import {inserThrOrderWeb, delInnerOrderDetail, listInnerOrderDetail} from "@/api/inventory/innerOrder"; import {inserThrOrderWeb, delInnerOrderDetail, listInnerOrderDetail} from "@/api/inventory/innerOrder";
import {isBlank} from "@/utils/strUtil";
export default { export default {
name: "idQuery", name: "idQuery",
@ -267,7 +260,7 @@ export default {
} }
if (status === '0') { if (status === '0') {
for (let i = 0; i < this.codeArray.length; i++) { for (let i = 0; i < this.codeArray.length; i++) {
if (this.$isBlank(this.codeArray[i].count) || this.codeArray[i].count == "0") { if (this.$isBlank(this.codeArray[i].count) || this.codeArray[i].count === 0) {
return this.$message.error('单据数量不能为0'); return this.$message.error('单据数量不能为0');
} }
} }
@ -275,6 +268,16 @@ export default {
if (status == "1") { if (status == "1") {
this.submitFunction(status); this.submitFunction(status);
} else { } else {
if (this.codeArray.length < 1) {
this.$message.warning('未添加产品');
return;
}
for (let i = 0; i < this.codeArray.length; i++) {
if (isBlank(this.codeArray[i].count) || this.codeArray[i].count === 0) {
this.$message.error('单据数量不能为0');
return;
}
}
let tip = "是否确定提交订单?"; let tip = "是否确定提交订单?";
this.$confirm(tip, "提示", { this.$confirm(tip, "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
@ -419,6 +422,8 @@ export default {
this.query.limit = 100; this.query.limit = 100;
this.query.orderIdFk = this.idQuery.id; this.query.orderIdFk = this.idQuery.id;
this.formData = this.idQuery.formData; this.formData = this.idQuery.formData;
this.formData.billNo = this.idQuery.formData.recordKey;
this.formData.billDate = this.idQuery.formData.createTime;
this.orderEditor = true; this.orderEditor = true;
this.sValue = this.formData.corpName; this.sValue = this.formData.corpName;
this.getStockOrderDetailList(); this.getStockOrderDetailList();

@ -34,7 +34,9 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item class="query-form-item">
<el-input v-model="filterQuery.orderIdFk" placeholder="所属单号"></el-input>
</el-form-item>
</el-row> </el-row>
<el-row style="width: 100%"> <el-row style="width: 100%">

@ -122,6 +122,7 @@
:data="detailList" :data="detailList"
style="width: 100%; margin-top: 20px" style="width: 100%; margin-top: 20px"
border border
highlight-current-row
@current-change="handleDetail" @current-change="handleDetail"
> >
<el-table-column <el-table-column

@ -23,6 +23,14 @@
<el-button type="primary" icon="search" @click="getList"></el-button> <el-button type="primary" icon="search" @click="getList"></el-button>
</el-button-group> </el-button-group>
</el-form-item> </el-form-item>
<el-form-item>
<el-button-group style="display:flex;">
<el-button type="primary" icon="search" @click="downloadNow(1)"></el-button>
<el-button type="primary" icon="search" @click="downloadNow(2)"></el-button>
<el-button type="primary" icon="search" @click="downloadNow(3)"></el-button>
<el-button type="primary" icon="search" @click="downloadNow(4)"></el-button>
</el-button-group>
</el-form-item>
</el-row> </el-row>
</el-form> </el-form>
@ -128,6 +136,7 @@
import {filterLog, deleteLog, findConfig, updateConfig} from "../../api/thrsys/spsSyncDownload"; import {filterLog, deleteLog, findConfig, updateConfig} from "../../api/thrsys/spsSyncDownload";
import store from "@/store"; import store from "@/store";
import ShowText from "../other/showText"; import ShowText from "../other/showText";
import {downloadNow} from "../../api/thrsys/spsSyncDownload";
export default { export default {
data() { data() {
@ -339,6 +348,19 @@
this.syncInfo = item.remark; this.syncInfo = item.remark;
} }
}) })
},
downloadNow(type) {
//
let params = {type: type};
downloadNow(params).then((res) => {
if (res.code === 20000) {
this.$message.success("同步任务创建成功,稍后请刷新查看下载日志!");
} else {
this.$message.error(res.message);
}
}).catch((error) => {
this.$message.error(error.message);
})
} }
}, },

@ -104,8 +104,16 @@
<el-table-column label="产品通用名" prop="productName" show-overflow-tooltip="true"></el-table-column> <el-table-column label="产品通用名" prop="productName" show-overflow-tooltip="true"></el-table-column>
<el-table-column label="规格型号" prop="spec" show-overflow-tooltip="true"></el-table-column> <el-table-column label="规格型号" prop="spec" show-overflow-tooltip="true"></el-table-column>
<el-table-column label="批次号" prop="batchNo"></el-table-column> <el-table-column label="批次号" prop="batchNo"></el-table-column>
<el-table-column label="生产日期" prop="productDate"></el-table-column> <el-table-column label="生产日期" prop="productDate">
<el-table-column label="失效日期" prop="expireDate"></el-table-column> <template slot-scope="scope">
<span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column label="失效日期" prop="expireDate">
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template>
</el-table-column>
<el-table-column label="单据数量" prop="count"></el-table-column> <el-table-column label="单据数量" prop="count"></el-table-column>
</el-table> </el-table>
</el-card> </el-card>
@ -142,10 +150,12 @@ import {
} from "../../api/inout/erpOrder"; } from "../../api/inout/erpOrder";
import thrOrderNew from "./thrOrderNew"; import thrOrderNew from "./thrOrderNew";
import {getReceiveOrder} from "@/api/inout/receiveOrder"; import {getReceiveOrder} from "@/api/inout/receiveOrder";
import {convertDate} from "@/utils/date"
export default { export default {
data() { data() {
return { return {
convertDateFun:convertDate,
filterQuery: { filterQuery: {
billAction: null, billAction: null,
billNo: "", billNo: "",

@ -88,8 +88,16 @@
<el-table-column label="产品通用名" prop="productName" show-overflow-tooltip="true"></el-table-column> <el-table-column label="产品通用名" prop="productName" show-overflow-tooltip="true"></el-table-column>
<el-table-column label="规格型号" prop="spec" show-overflow-tooltip="true"></el-table-column> <el-table-column label="规格型号" prop="spec" show-overflow-tooltip="true"></el-table-column>
<el-table-column label="批次号" prop="batchNo"></el-table-column> <el-table-column label="批次号" prop="batchNo"></el-table-column>
<el-table-column label="生产日期" prop="productDate"></el-table-column> <el-table-column label="生产日期" prop="productDate">
<el-table-column label="失效日期" prop="expireDate"></el-table-column> <template slot-scope="scope">
<span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column label="失效日期" prop="expireDate">
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template>
</el-table-column>
<el-table-column label="单据数量" prop="reCount"></el-table-column> <el-table-column label="单据数量" prop="reCount"></el-table-column>
<el-table-column label="实际数量" prop="count"></el-table-column> <el-table-column label="实际数量" prop="count"></el-table-column>
</el-table> </el-table>
@ -109,10 +117,12 @@ import {
getCloudErp, getCloudErp,
} from "../../api/inout/erpOrder"; } from "../../api/inout/erpOrder";
import {getReceiveOrder} from "@/api/inout/receiveOrder"; import {getReceiveOrder} from "@/api/inout/receiveOrder";
import {convertDate} from "@/utils/date"
export default { export default {
data() { data() {
return { return {
convertDateFun:convertDate,
filterQuery: { filterQuery: {
billAction: null, billAction: null,
billNo: "", billNo: "",

Loading…
Cancel
Save