|
@@ -201,6 +201,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ {{ form.fPlanqty }}
|
|
|
<el-row>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="计划件数" prop="fPlanqty">
|
|
@@ -210,7 +211,10 @@
|
|
|
maxlength="9"
|
|
|
laceholder="计划件数"
|
|
|
:disabled="browseStatus || current !== before"
|
|
|
- />
|
|
|
+ @change="tfQty"
|
|
|
+ >
|
|
|
+ <template slot="append">{{ tfQtynum }}吨</template>
|
|
|
+ </el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
@@ -222,7 +226,10 @@
|
|
|
v-input-limit="2"
|
|
|
laceholder="计划净重"
|
|
|
:disabled="browseStatus || current !== before"
|
|
|
- />
|
|
|
+ @change="tfNetweight"
|
|
|
+ >
|
|
|
+ <template slot="append">{{ tfNetweightnum }}吨</template>
|
|
|
+ </el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
@@ -234,7 +241,10 @@
|
|
|
laceholder="计划毛重"
|
|
|
maxlength="9"
|
|
|
:disabled="browseStatus || current !== before"
|
|
|
- />
|
|
|
+ @change="tfGrossweight"
|
|
|
+ >
|
|
|
+ <template slot="append">{{ tfGrossweightnum }}吨</template>
|
|
|
+ </el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -891,14 +901,14 @@
|
|
|
@click="addRelevant('copy')"
|
|
|
>复制录入</el-button
|
|
|
>
|
|
|
- <el-button
|
|
|
+ <el-button
|
|
|
:disabled="browseStatus"
|
|
|
type="primary"
|
|
|
size="small"
|
|
|
@click="tishi"
|
|
|
>导入模板</el-button
|
|
|
>
|
|
|
- <el-button
|
|
|
+ <el-button
|
|
|
:disabled="browseStatus"
|
|
|
type="primary"
|
|
|
size="small"
|
|
@@ -945,6 +955,7 @@
|
|
|
<el-dropdown-item command="d">货物确认</el-dropdown-item>
|
|
|
<el-dropdown-item command="e">劳务确认</el-dropdown-item>
|
|
|
<el-dropdown-item command="f">吊牌信息</el-dropdown-item>
|
|
|
+ <el-dropdown-item command="h">入库垛卡</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
<div style="margin: 0 10px">
|
|
@@ -1619,16 +1630,14 @@
|
|
|
align="center"
|
|
|
width="180px"
|
|
|
label="客户名称"
|
|
|
- :disabled="browseStatus"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<el-select
|
|
|
v-model="scope.row.fCorpid"
|
|
|
filterable
|
|
|
- remote
|
|
|
clearable
|
|
|
- :remote-method="corpremoteMethod2"
|
|
|
placeholder="客户名称"
|
|
|
+ :disabled="browseStatus"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="(item, index) in fMblnoOptions"
|
|
@@ -1696,11 +1705,9 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-select
|
|
|
v-model="scope.row.fFeeUnitid"
|
|
|
- filterable
|
|
|
- remote
|
|
|
+ placeholder="请选择计价单位"
|
|
|
+ clearable
|
|
|
:disabled="browseStatus"
|
|
|
- :remote-method="corpsRemoteMethod"
|
|
|
- placeholder="计价单位"
|
|
|
@change="changeFeeUnit(scope.row)"
|
|
|
>
|
|
|
<el-option
|
|
@@ -1708,7 +1715,7 @@
|
|
|
:key="index.dictValue"
|
|
|
:label="item.dictLabel"
|
|
|
:value="item.dictValue"
|
|
|
- ></el-option>
|
|
|
+ />
|
|
|
</el-select>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -3042,6 +3049,99 @@
|
|
|
<el-button @click="print_dpxx = false">取消 </el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ :visible.sync="print_dk"
|
|
|
+ width="70%"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ :modal="false"
|
|
|
+ >
|
|
|
+ <div id="print_area1" class="print-div">
|
|
|
+ <div
|
|
|
+ class="print-title"
|
|
|
+ style="
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ font-size: 24px;
|
|
|
+ margin-bottom: 5px;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ 垛卡
|
|
|
+ </div>
|
|
|
+ <div class="print_table" style="display: flex">
|
|
|
+ <table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
|
|
|
+ <tr>
|
|
|
+ <td>客户</td>
|
|
|
+ <td colspan="2">{{ form.fCorpidName }}</td>
|
|
|
+ <td>箱量</td>
|
|
|
+ <td v-if="Printinglist.length">{{ Printinglist[0].fCntqty }}</td>
|
|
|
+ <td v-else></td>
|
|
|
+ <td>车号</td>
|
|
|
+ <td>{{ form.fTruckno }}</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>提单号</td>
|
|
|
+ <td colspan="2">{{ form.fMblno }}</td>
|
|
|
+ <td>品名</td>
|
|
|
+ <td colspan="3">
|
|
|
+ {{ form.fGoodsid | goodsFormat(goodsOptions) }}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>箱号</td>
|
|
|
+ <td colspan="2" v-if="Printinglist.length">
|
|
|
+ {{ Printinglist[0].fCntrno }}
|
|
|
+ </td>
|
|
|
+ <td colspan="2" v-else></td>
|
|
|
+ <td>报关号</td>
|
|
|
+ <td colspan="3"></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>入库日期</td>
|
|
|
+ <td>入库件数</td>
|
|
|
+ <td>出库日期</td>
|
|
|
+ <td>出库件数</td>
|
|
|
+ <td>结余件数</td>
|
|
|
+ <td>区位</td>
|
|
|
+ <td>备注</td>
|
|
|
+ </tr>
|
|
|
+ <tr v-for="(item, index) in Printinglist" :key="index">
|
|
|
+ <td>{{ item.fBsdate }}</td>
|
|
|
+ <td>{{ item.fQty }}</td>
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
+ <td></td>
|
|
|
+ <td>{{ item.fWarehouseInformation }}</td>
|
|
|
+ <td>{{ item.remark }}</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ style="
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ font-size: 12px;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <div>操作:{{ form.createBy }}</div>
|
|
|
+ <div>司机:</div>
|
|
|
+ <div>理货:</div>
|
|
|
+ <div>掏箱叉车:</div>
|
|
|
+ <div style="width: 150px">码垛叉车:</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ :disabled="browseStatus"
|
|
|
+ @click="
|
|
|
+ addprint();
|
|
|
+ print_dk = false;
|
|
|
+ "
|
|
|
+ >打印
|
|
|
+ </el-button>
|
|
|
+ <el-button @click="print_dk = false">取消 </el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
<!-- 选择作业费协议数据 -->
|
|
|
<el-dialog
|
|
|
v-dialogDrag
|
|
@@ -3370,6 +3470,7 @@ export default {
|
|
|
print_lwqr: false,
|
|
|
print_dpxx: false,
|
|
|
print_bzrkd: false,
|
|
|
+ print_dk: false,
|
|
|
company: "",
|
|
|
Printinglist: [],
|
|
|
//库位
|
|
@@ -3602,6 +3703,9 @@ export default {
|
|
|
getRowList: [],
|
|
|
allCheck: false,
|
|
|
showSetting: false,
|
|
|
+ tfQtynum: 0,
|
|
|
+ tfNetweightnum: 0,
|
|
|
+ tfGrossweightnum: 0,
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -3813,6 +3917,15 @@ export default {
|
|
|
remark: null,
|
|
|
};
|
|
|
},
|
|
|
+ tfQty(row) {
|
|
|
+ this.tfQtynum = (row / 1000).toFixed(2);
|
|
|
+ },
|
|
|
+ tfNetweight(row) {
|
|
|
+ this.tfNetweightnum = (row / 1000).toFixed(2);
|
|
|
+ },
|
|
|
+ tfGrossweight(row) {
|
|
|
+ this.tfGrossweightnum = (row / 1000).toFixed(2);
|
|
|
+ },
|
|
|
//列设置全选
|
|
|
allChecked() {
|
|
|
if (this.allCheck == true) {
|
|
@@ -3825,7 +3938,7 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
- tishi(){
|
|
|
+ tishi() {
|
|
|
return this.$message.error("正在开发中");
|
|
|
},
|
|
|
//查询列数据
|
|
@@ -4236,6 +4349,9 @@ export default {
|
|
|
this.$set(this.form, "createTime", Date.parse(this.form.createTime));
|
|
|
this.$set(this.form, "fChargedate", Date.parse(this.form.fChargedate));
|
|
|
this.$set(this.form, "fFeetUnit", this.form.fFeetunit);
|
|
|
+ this.tfQtynum = (this.form.fPlanqty / 1000).toFixed(2);
|
|
|
+ this.tfNetweightnum = (this.form.fPlannetweight / 1000).toFixed(2);
|
|
|
+ this.tfGrossweightnum = (this.form.fPlangrossweight / 1000).toFixed(2);
|
|
|
if (this.form.fTrademodeid) {
|
|
|
this.$set(
|
|
|
this.form,
|
|
@@ -4990,6 +5106,8 @@ export default {
|
|
|
this.print_dpxx = true;
|
|
|
} else if (command == "g") {
|
|
|
this.print_bzrkd = true;
|
|
|
+ } else if (command == "h") {
|
|
|
+ this.print_dk = true;
|
|
|
}
|
|
|
}
|
|
|
});
|