|
@@ -1,27 +1,33 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <div style="display: flex; align-items: center">
|
|
|
- <el-breadcrumb separator="/">
|
|
|
- <el-breadcrumb-item
|
|
|
- ><span style="font-weight: 700">入库</span></el-breadcrumb-item
|
|
|
- >
|
|
|
- <el-breadcrumb-item
|
|
|
- ><span style="font-weight: 700">入库详情页</span></el-breadcrumb-item
|
|
|
+ <div style="display:flex;justify-content: space-between;">
|
|
|
+ <div style="display: flex; align-items: center">
|
|
|
+ <el-breadcrumb separator="/">
|
|
|
+ <el-breadcrumb-item
|
|
|
+ ><span style="font-weight: 700">入库</span></el-breadcrumb-item
|
|
|
+ >
|
|
|
+ <el-breadcrumb-item
|
|
|
+ ><span style="font-weight: 700"
|
|
|
+ >入库详情页</span
|
|
|
+ ></el-breadcrumb-item
|
|
|
+ >
|
|
|
+ </el-breadcrumb>
|
|
|
+ <el-button
|
|
|
+ style="margin-left: 10px"
|
|
|
+ size="mini"
|
|
|
+ icon="el-icon-arrow-left"
|
|
|
+ @click="goBack"
|
|
|
+ >返回列表</el-button
|
|
|
>
|
|
|
- </el-breadcrumb>
|
|
|
- <el-button
|
|
|
- style="margin-left: 10px"
|
|
|
- size="mini"
|
|
|
- icon="el-icon-arrow-left"
|
|
|
- @click="goBack"
|
|
|
- >返回列表</el-button
|
|
|
- >
|
|
|
+ </div>
|
|
|
+ <!-- <el-button icon="el-icon-refresh" circle size="mini"></el-button> -->
|
|
|
</div>
|
|
|
+
|
|
|
<br />
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
|
|
<el-row>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="货权方" prop="fCorpid">
|
|
|
+ <el-form-item label="客户" prop="fCorpid">
|
|
|
<el-select
|
|
|
v-model="form.fCorpid"
|
|
|
clearable
|
|
@@ -961,14 +967,17 @@
|
|
|
<span v-else-if="item.label == 'fBsdate'">
|
|
|
{{ scope.row.fBsdate | fBsdateFormat }}
|
|
|
</span>
|
|
|
- <span v-else-if="item.label == 'fGoodsid'">
|
|
|
- {{ scope.row.fGoodsid | goodsFormat(goodsOptions)}}
|
|
|
+ <span v-else-if="item.label == 'fGoodsid'">
|
|
|
+ {{ scope.row.fGoodsid | goodsFormat(goodsOptions) }}
|
|
|
</span>
|
|
|
- <span v-else-if="item.label == 'fBusinessType'">
|
|
|
- {{ scope.row.fBusinessType | fStorageTypeFormat(fStorageTypeOptions)}}
|
|
|
+ <span v-else-if="item.label == 'fBusinessType'">
|
|
|
+ {{
|
|
|
+ scope.row.fBusinessType
|
|
|
+ | fStorageTypeFormat(fStorageTypeOptions)
|
|
|
+ }}
|
|
|
</span>
|
|
|
- <span v-else-if="item.label == 'fCntrtype'">
|
|
|
- {{ scope.row.fCntrtype | fCntrtypeFormat(cntrList)}}
|
|
|
+ <span v-else-if="item.label == 'fCntrtype'">
|
|
|
+ {{ scope.row.fCntrtype | fCntrtypeFormat(cntrList) }}
|
|
|
</span>
|
|
|
<span v-else>{{ scope.row[item.label] }}</span>
|
|
|
</template>
|
|
@@ -982,10 +991,7 @@
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
- :disabled="
|
|
|
- browseStatus ||
|
|
|
- scope.row.fBillstatus > 30
|
|
|
- "
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus > 30"
|
|
|
type="text"
|
|
|
@click.native.prevent="fixRow(scope.row, scope.$index)"
|
|
|
size="small"
|
|
@@ -2343,7 +2349,7 @@
|
|
|
<div class="print_table" style="display: flex">
|
|
|
<table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
|
|
|
<tr>
|
|
|
- <td>货权方</td>
|
|
|
+ <td>客户</td>
|
|
|
<td>{{ form.fCorpidName }}</td>
|
|
|
<td>仓库</td>
|
|
|
<td>{{ form.fWarehouseids }}</td>
|
|
@@ -3449,16 +3455,16 @@ export default {
|
|
|
}
|
|
|
return name;
|
|
|
},
|
|
|
- fStorageTypeFormat(row,fStorageTypeOptions) {
|
|
|
+ fStorageTypeFormat(row, fStorageTypeOptions) {
|
|
|
let fStorageType;
|
|
|
fStorageTypeOptions.map((e) => {
|
|
|
- if (row== e.dictValue) {
|
|
|
+ if (row == e.dictValue) {
|
|
|
fStorageType = e.dictLabel;
|
|
|
}
|
|
|
});
|
|
|
return fStorageType;
|
|
|
},
|
|
|
- fCntrtypeFormat(row,cntrList) {
|
|
|
+ fCntrtypeFormat(row, cntrList) {
|
|
|
let fCntrtype;
|
|
|
cntrList.map((e) => {
|
|
|
if (row == e.fId) {
|
|
@@ -3467,7 +3473,7 @@ export default {
|
|
|
});
|
|
|
return fCntrtype;
|
|
|
},
|
|
|
- goodsFormat(row,goodsOptions) {
|
|
|
+ goodsFormat(row, goodsOptions) {
|
|
|
let goods;
|
|
|
goodsOptions.map((e) => {
|
|
|
if (row == e.fId) {
|
|
@@ -3487,7 +3493,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
fBillstatusFormat(row) {
|
|
|
- let Name
|
|
|
+ let Name;
|
|
|
switch (row) {
|
|
|
case 10:
|
|
|
Name = "计划";
|
|
@@ -4487,7 +4493,7 @@ export default {
|
|
|
handleSelect(key) {
|
|
|
if (!this.form.fCorpid) {
|
|
|
this.$message({
|
|
|
- message: "请维护货权方",
|
|
|
+ message: "请维护客户",
|
|
|
type: "warning",
|
|
|
});
|
|
|
} else if (this.form.fProductName == undefined) {
|
|
@@ -4595,6 +4601,9 @@ export default {
|
|
|
});
|
|
|
if (status == "copy") {
|
|
|
this.importList.fBsdate = Date.parse(this.Printinglist[0].fBsdate);
|
|
|
+ if (!this.importList.fBsdate) {
|
|
|
+ this.importList.fBsdate = this.Printinglist[0].fBsdate;
|
|
|
+ }
|
|
|
this.importList.fGoodsid = this.Printinglist[0].fGoodsid;
|
|
|
this.importList.fBusinessType = this.Printinglist[0].fBusinessType.toString();
|
|
|
this.importList.fMarks = this.Printinglist[0].fMarks;
|