|
@@ -151,10 +151,10 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="唛头" prop="fMarks">
|
|
|
+ <el-form-item label="品牌" prop="fMarks">
|
|
|
<el-input
|
|
|
v-model="queryParams.fMarks"
|
|
|
- placeholder="请输入唛头"
|
|
|
+ placeholder="请输入品牌"
|
|
|
clearable
|
|
|
size="small"
|
|
|
style="width: 80%"
|
|
@@ -249,7 +249,7 @@
|
|
|
prop="fCorpid"
|
|
|
/>
|
|
|
<el-table-column label="提单号" align="center" prop="fMblno" />
|
|
|
- <el-table-column label="唛头" align="center" prop="fMarks" />
|
|
|
+ <el-table-column label="品牌" align="center" prop="fMarks" />
|
|
|
<el-table-column
|
|
|
label="出库日期"
|
|
|
align="center"
|
|
@@ -574,12 +574,12 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="唛头" prop="fMarks">
|
|
|
+ <el-form-item label="品牌" prop="fMarks">
|
|
|
<el-input
|
|
|
v-model="form.fMarks"
|
|
|
style="width: 80%"
|
|
|
:disabled="browseStatus || formBrowseStatus"
|
|
|
- placeholder="唛头"
|
|
|
+ placeholder="品牌"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -730,32 +730,33 @@
|
|
|
@click.prevent="addRelevant(10)"
|
|
|
>新行
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- :disabled="dataListSelection.length <= 0"
|
|
|
- @click.prevent="creditClick"
|
|
|
- >出库确认
|
|
|
- </el-button>
|
|
|
- <el-button
|
|
|
- :disabled="dataWithdrawList.length <= 0"
|
|
|
- @click.prevent="withdrawClick"
|
|
|
- >撤回出库</el-button
|
|
|
- >
|
|
|
<!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
|
|
|
>删除
|
|
|
</el-button> -->
|
|
|
- <el-button type="primary" @click="saveForm">保 存</el-button>
|
|
|
+ <el-button type="primary" :disabled="browseStatus" @click="saveForm">保 存</el-button>
|
|
|
</div>
|
|
|
<div style="display: flex">
|
|
|
<el-button @click="detailsHidden ? (detailsHidden = false) : (detailsHidden = true)">{{ detailsHidden ? "隐藏" : "展开" }}</el-button>
|
|
|
<el-button type="info" :disabled="printinglist.length <= 0" prop="打印" @click="printJobSheet">作业单</el-button>
|
|
|
<el-button :disabled="printinglist.length <= 0" @click="discharge">装货</el-button>
|
|
|
+ <el-button
|
|
|
+ :disabled="dataListSelection.length <= 0 || browseStatus"
|
|
|
+ @click.prevent="creditClick"
|
|
|
+ >出库确认
|
|
|
+ </el-button>
|
|
|
+ <el-button
|
|
|
+ :disabled="dataWithdrawList.length <= 0 || browseStatus"
|
|
|
+ @click.prevent="withdrawClick"
|
|
|
+ >撤回出库</el-button
|
|
|
+ >
|
|
|
<el-button type="warning" prop="打印" :disabled="printinglist.length <= 0" @click="showEditDialog_s"
|
|
|
>出库单
|
|
|
</el-button>
|
|
|
- <el-button type="primary" @click="saveForm">保 存</el-button>
|
|
|
+ <!-- <el-button type="primary" :disabled="browseStatus" @click="saveForm">保 存</el-button> -->
|
|
|
<el-button
|
|
|
style="background-color: #008000; color: #fff"
|
|
|
@click="submitForm(6)"
|
|
|
+ :disabled="browseStatus"
|
|
|
>请核</el-button
|
|
|
>
|
|
|
</div>
|
|
@@ -804,7 +805,7 @@
|
|
|
header-align="center"
|
|
|
align="center"
|
|
|
width="140px"
|
|
|
- label="*唛头"
|
|
|
+ label="*品牌"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
@@ -1226,10 +1227,12 @@
|
|
|
<el-button :disabled="browseStatus" @click.prevent="addCollection()"
|
|
|
>新行
|
|
|
</el-button>
|
|
|
- <el-button type="primary" @click="saveForm">保 存</el-button>
|
|
|
+ <el-button type="primary" :disabled="browseStatus" @click="saveForm">保 存</el-button>
|
|
|
<!--暂时隐藏-->
|
|
|
<!-- <el-button type="warning" @click.prevent="addStorages('Dr')">仓储费协议</el-button >-->
|
|
|
- <el-button type="danger" @click.prevent="addAgreement('Dr')"
|
|
|
+ <el-button type="danger"
|
|
|
+ :disabled="browseStatus"
|
|
|
+ @click.prevent="addAgreement('Dr')"
|
|
|
>作业费协议</el-button
|
|
|
>
|
|
|
</div>
|
|
@@ -1470,11 +1473,13 @@
|
|
|
<!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
|
|
|
>删除
|
|
|
</el-button> -->
|
|
|
- <el-button type="primary" @click="saveForm">保 存</el-button>
|
|
|
+ <el-button type="primary" :disabled="browseStatus" @click="saveForm">保 存</el-button>
|
|
|
<!--暂时隐藏-->
|
|
|
<!-- <el-button type="warning" @click.prevent="addStorages('Cr')">仓储费协议</el-button>-->
|
|
|
- <el-button type="danger" @click.prevent="addAgreement('Cr')"
|
|
|
- >作业费协议</el-button
|
|
|
+ <el-button type="danger"
|
|
|
+ :disabled="browseStatus"
|
|
|
+ @click.prevent="addAgreement('Cr')"
|
|
|
+ >作业费协议</el-button
|
|
|
>
|
|
|
</div>
|
|
|
<div style="font-size: 18px">付款信息</div>
|
|
@@ -1702,17 +1707,18 @@
|
|
|
<!-- <el-button type="success" prop="打印" @click="showEditDialog_ss"
|
|
|
>收货单
|
|
|
</el-button> -->
|
|
|
- <el-button type="warning" prop="打印" :disabled="printinglist.length <= 0" @click="showEditDialog_s"
|
|
|
+ <el-button type="warning" prop="打印" :disabled="printinglist.length <= 0 || browseStatus" @click="showEditDialog_s"
|
|
|
>出库单
|
|
|
</el-button>
|
|
|
- <el-button :disabled="printinglist.length <= 0" @click="discharge">装货</el-button>
|
|
|
- <el-button type="info" prop="打印" :disabled="printinglist.length <= 0" @click="printJobSheet"
|
|
|
+ <el-button :disabled="printinglist.length <= 0 || browseStatus" @click="discharge">装货</el-button>
|
|
|
+ <el-button type="info" prop="打印" :disabled="printinglist.length <= 0 || browseStatus" @click="printJobSheet"
|
|
|
>作业单
|
|
|
</el-button>
|
|
|
- <el-button type="primary" @click="saveForm">保 存</el-button>
|
|
|
+ <el-button type="primary" :disabled="browseStatus" @click="saveForm">保 存</el-button>
|
|
|
<el-button
|
|
|
style="background-color: #008000; color: #fff"
|
|
|
@click="submitForm"
|
|
|
+ :disabled="browseStatus"
|
|
|
>请核</el-button
|
|
|
>
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
@@ -1775,7 +1781,7 @@
|
|
|
prop="fMarks"
|
|
|
header-align="center"
|
|
|
align="center"
|
|
|
- label="唛头"
|
|
|
+ label="品牌"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -1787,7 +1793,7 @@
|
|
|
@pagination="getWhgenlegList"
|
|
|
/>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
- <el-button type="primary" @click="whgenlegData">导入</el-button>
|
|
|
+ <el-button type="primary" @click="whgenlegData">导入库存总账</el-button>
|
|
|
<el-button @click="whgenlegVisible = false">取 消</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
@@ -3444,6 +3450,7 @@ export default {
|
|
|
for (let li in this.dataList) {
|
|
|
if (this.dataList[li].fId === dataitem[ite].fId) {
|
|
|
this.$set(this.dataList[li], 'fBillstatus', dataitem[ite].fBillstatus)
|
|
|
+ this.$set(this.dataList[li], 'fSerialNumber', dataitem[ite].fSerialNumber)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -3617,24 +3624,6 @@ export default {
|
|
|
this.$message.error('请新增库存明细!')
|
|
|
return false
|
|
|
}
|
|
|
- // if (this.relevantAttachments.length === 0) {
|
|
|
- // this.$message.error("请新增附件上传!");
|
|
|
- // return false;
|
|
|
- // }
|
|
|
- if (this.warehouseDrList.length === 0) {
|
|
|
- this.$message.error('请新增收款信息!')
|
|
|
- return false
|
|
|
- }
|
|
|
- if (this.warehouseCrList.length === 0) {
|
|
|
- this.$message.error('请新增付款信息!')
|
|
|
- return false
|
|
|
- }
|
|
|
- for (let list in this.dataList) {
|
|
|
- if (!this.dataList[list].fWarehouselocid) {
|
|
|
- this.$message.error('请输入库区!')
|
|
|
- return false
|
|
|
- }
|
|
|
- }
|
|
|
for (let list in this.dataList) {
|
|
|
if (this.dataList[list].fQty === 0) {
|
|
|
this.$message.error('请输入出库件数!')
|
|
@@ -3648,17 +3637,11 @@ export default {
|
|
|
this.$message.error('请输入出库毛重!')
|
|
|
return false
|
|
|
}
|
|
|
- if (this.dataList[list].fBillstatus != 40) {
|
|
|
+ if (this.dataList[list].fBillstatus !== 40) {
|
|
|
this.$message.error('请入账库存明细!')
|
|
|
return false
|
|
|
}
|
|
|
}
|
|
|
- // for (let list in this.relevantAttachments) {
|
|
|
- // if (this.relevantAttachments[list].fName === null) {
|
|
|
- // this.$message.error("请输入附件名称!");
|
|
|
- // return false;
|
|
|
- // }
|
|
|
- // }
|
|
|
for (let list in this.warehouseDrList) {
|
|
|
if (!this.warehouseDrList[list].fCorpid) {
|
|
|
this.$message.error('请选择客户名称')
|