优化页面时间类型

busUser
郑明梁 3 years ago
parent 6ee6f1f94f
commit db9c347758

@ -23,9 +23,15 @@ function padLeftZero (str) {
return ('00' + str).substr(str.length); return ('00' + str).substr(str.length);
}; };
export function convertDate(date) { 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); var time="20"+date.substring(0,2)+"-"+date.substring(2,4)+"-"+date.substring(4,6);
return time; return time;
}else{
return date;
}
}; };

@ -101,8 +101,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>
@ -139,10 +147,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: "",

@ -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>
@ -227,9 +235,11 @@ import {submitOrderWeb} from "@/api/warehouse/order";
import {stockOrderChange, stockOrderDetail} from "@/api/warehouse/stockOrder"; import {stockOrderChange, stockOrderDetail} from "@/api/warehouse/stockOrder";
import {filterSubByInv} from "@/api/basic/invSubWarehouse"; import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {isBlank} from "@/utils/strUtil"; import {isBlank} from "@/utils/strUtil";
import {convertDate} from "@/utils/date"
export default { export default {
name: "DialogcChangeNewOrder", name: "DialogcChangeNewOrder",
props: { props: {
closeDialog: { closeDialog: {
type: Function, type: Function,
@ -242,6 +252,7 @@ export default {
}, },
data() { data() {
return { return {
convertDateFun:convertDate,
formData: { formData: {
corpOrderId: "", corpOrderId: "",
code: "", code: "",

@ -249,13 +249,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="erpCount" prop="erpCount"
@ -461,6 +469,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 = {
site_id: "", site_id: "",
@ -478,6 +487,7 @@ export default {
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
page: 1, page: 1,
limit: 20, limit: 20,

@ -206,12 +206,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"
@ -358,6 +366,8 @@ 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 = {
site_id: "", site_id: "",
@ -375,6 +385,7 @@ export default {
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
page: 1, page: 1,
limit: 20, limit: 20,

@ -218,12 +218,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"
@ -371,6 +376,7 @@ import {getLocalJoinByUser} from "@/api/basic/busLocalType";
import {filterSubByInv} from "@/api/basic/invSubWarehouse"; import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {isBlank} from "@/utils/strUtil"; import {isBlank} from "@/utils/strUtil";
import {selectSysParamByKey} from "@/api/param/systemParamConfig"; import {selectSysParamByKey} from "@/api/param/systemParamConfig";
import {convertDate} from "@/utils/date"
const formJson = { const formJson = {
site_id: "", site_id: "",
@ -388,6 +394,7 @@ export default {
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
page: 1, page: 1,
limit: 10, limit: 10,

@ -25,12 +25,16 @@
label="生产日期" label="生产日期"
prop="produceDate" prop="produceDate"
show-overflow-tooltip show-overflow-tooltip
></el-table-column> ><template slot-scope="scope">
<span>{{ convertDateFun(scope.row.produceDate) }}</span>
</template></el-table-column>
<el-table-column <el-table-column
label="失效日期" label="失效日期"
prop="expireDate" prop="expireDate"
show-overflow-tooltip show-overflow-tooltip
></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="batchNo" prop="batchNo"
@ -70,6 +74,7 @@
import {orderList, codeList} from "../../api/warehouse/order"; import {orderList, codeList} from "../../api/warehouse/order";
import draggable from "vuedraggable"; import draggable from "vuedraggable";
import {saveAs} from "file-saver"; import {saveAs} from "file-saver";
import {convertDate} from "@/utils/date"
export default { export default {
name: "idQuery", name: "idQuery",
@ -81,6 +86,7 @@ export default {
}, },
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
code: "", code: "",
corpOrderId: "", corpOrderId: "",

@ -159,8 +159,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>
@ -365,11 +373,13 @@ import {getLocalJoinBusType, getLocalJoinByUser} from "../../api/basic/busLocalT
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 {selectSysParamByKey} from "@/api/param/systemParamConfig"; import {selectSysParamByKey} from "@/api/param/systemParamConfig";
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,

@ -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 "./codeReplace"; import codeReplace from "./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,

@ -186,8 +186,15 @@
<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="150" prop="zczbhhzbapzbh"></el-table-column> <el-table-column label="注册/备案凭证号" width="150" prop="zczbhhzbapzbh"></el-table-column>
<el-table-column label="生产日期" width="120" prop="productDate"></el-table-column> <el-table-column label="生产日期" width="120" prop="productDate">
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.productDate) }}</span>
</template>
</el-table-column>
<el-table-column label="失效日期" width="120" prop="expireDate"> <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>
<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>
@ -345,11 +352,13 @@ import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse";
import StockOrderEdit from "@/views/warehouse/stockOrderEdit"; import StockOrderEdit from "@/views/warehouse/stockOrderEdit";
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"
export default { export default {
name: "stockOrderDelSearch", name: "stockOrderDelSearch",
data() { data() {
return { return {
convertDateFun:convertDate,
query: { query: {
billType: null, billType: null,
corpName: null, corpName: null,

@ -123,12 +123,19 @@
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"
> >
<template slot-scope="scope">
<span>{{ convertDateFun(scope.row.expireDate) }}</span>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="单据数量" label="单据数量"
@ -232,10 +239,13 @@ 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 {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,

@ -23,8 +23,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>
@ -143,6 +151,7 @@
<script> <script>
import {stockOrderDetail, updateStockOrderDetail} from "@/api/warehouse/stockOrder"; import {stockOrderDetail, updateStockOrderDetail} from "@/api/warehouse/stockOrder";
import {convertDate} from "@/utils/date"
export default { export default {
name: "stockOrderEdit", name: "stockOrderEdit",
@ -154,6 +163,7 @@ export default {
}, },
data() { data() {
return { return {
convertDateFun:convertDate,
detailQuery: { detailQuery: {
orderIdFk: "", orderIdFk: "",
page: 1, page: 1,
@ -193,6 +203,7 @@ export default {
_this.multipId.push(item.id); _this.multipId.push(item.id);
}) })
}, },
batchSetParams(flag, type) { batchSetParams(flag, type) {
if (flag == '1' && type == 'salesListNo') { if (flag == '1' && type == 'salesListNo') {

@ -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>
@ -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,

@ -160,8 +160,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>
@ -462,11 +470,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,

@ -171,8 +171,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="150" prop="zczbhhzbapzbh"></el-table-column> <el-table-column label="注册/备案凭证号" width="150" prop="zczbhhzbapzbh"></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>
@ -503,11 +511,13 @@ import StockOrderEdit from "@/views/warehouse/stockOrderEdit";
import {filterSubByInv} from "@/api/basic/invSubWarehouse"; import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {isBlank} from "@/utils/strUtil"; import {isBlank} from "@/utils/strUtil";
import {selectSysParamByKey} from "@/api/param/systemParamConfig"; import {selectSysParamByKey} from "@/api/param/systemParamConfig";
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,

@ -145,8 +145,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>
@ -349,11 +357,13 @@ import {getLocalJoinBusType, getLocalJoinByUser} from "../../api/basic/busLocalT
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 {selectSysParamByKey} from "@/api/param/systemParamConfig"; import {selectSysParamByKey} from "@/api/param/systemParamConfig";
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,

Loading…
Cancel
Save