|
@@ -954,7 +954,7 @@
|
|
|
placeholder="货值"
|
|
|
v-input-limit="2"
|
|
|
:disabled="browseStatus || form.warehouseStatus > 3"
|
|
|
- />
|
|
|
+ ><template slot="append">万</template></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -972,6 +972,16 @@
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="8" v-if="showfWeighingDate == 0">
|
|
|
+ <el-form-item label="过磅重量" prop="fWeighWeight">
|
|
|
+ <el-input
|
|
|
+ v-model.number="form.fWeighWeight"
|
|
|
+ style="width: 80%"
|
|
|
+ placeholder="过磅重量"
|
|
|
+ :disabled="browseStatus || form.warehouseStatus > 3"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="8" v-if="showfIfsampling == 0">
|
|
|
<el-form-item label="是否取样" prop="fIfsampling">
|
|
|
<el-select
|
|
@@ -990,21 +1000,21 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="送样时间" prop="sendSampleDate">
|
|
|
<el-date-picker
|
|
|
- v-model="form.sendSampleDate"
|
|
|
- style="width: 80%"
|
|
|
- type="date"
|
|
|
- :disabled="browseStatus || form.warehouseStatus > 3"
|
|
|
- value-format="timestamp"
|
|
|
- placeholder="请选择送样时间"
|
|
|
+ v-model="form.sendSampleDate"
|
|
|
+ style="width: 80%"
|
|
|
+ type="date"
|
|
|
+ :disabled="browseStatus || form.warehouseStatus > 3"
|
|
|
+ value-format="timestamp"
|
|
|
+ placeholder="请选择送样时间"
|
|
|
>
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="是否复磅" prop="fIfweightRecovery">
|
|
|
<el-select
|
|
@@ -1162,18 +1172,22 @@
|
|
|
type="info"
|
|
|
:disabled="browseStatus"
|
|
|
prop="打印"
|
|
|
+ v-if="entryPrinting == 0"
|
|
|
@click="printZyd"
|
|
|
>作业单
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
size="small"
|
|
|
:disabled="browseStatus"
|
|
|
+ v-if="entryPrinting == 0"
|
|
|
@click="discharge"
|
|
|
>叫车进场</el-button
|
|
|
>
|
|
|
+
|
|
|
+<!-- :disabled="dataListSelection.length <= 0 || browseStatus || entryPrinting == 1"-->
|
|
|
<el-button
|
|
|
size="small"
|
|
|
- :disabled="dataListSelection.length <= 0 || browseStatus"
|
|
|
+ :disabled="entryPrinting == 0?dataListSelection.length <= 0 || browseStatus || entryPrinting == 1:Printinglist.length != 1 || browseStatus || Printinglist.length !== 1?true:Printinglist[0].fBillstatus ==40"
|
|
|
@click="creditClick"
|
|
|
>入库确认
|
|
|
</el-button>
|
|
@@ -1203,6 +1217,17 @@
|
|
|
<el-dropdown-item command="h">入库垛卡</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
+ <el-dropdown @command="detailedApproval" style="margin-left: 10px">
|
|
|
+ <el-button size="small" type="primary">
|
|
|
+ 明细审批<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
+ </el-button>
|
|
|
+ <el-dropdown-menu slot="dropdown">
|
|
|
+ <el-dropdown-item command="QH">明细请核</el-dropdown-item>
|
|
|
+ <el-dropdown-item command="SP">明细审批</el-dropdown-item>
|
|
|
+ <el-dropdown-item command="CK">查看明细审批流</el-dropdown-item>
|
|
|
+ <el-dropdown-item command="CX">撤销明细审批</el-dropdown-item>
|
|
|
+ </el-dropdown-menu>
|
|
|
+ </el-dropdown>
|
|
|
<div style="margin: 0 10px">
|
|
|
<el-button
|
|
|
icon="el-icon-setting"
|
|
@@ -1444,20 +1469,43 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row>
|
|
|
+ <el-row v-if="newPlan == 0">
|
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="库区" prop="fWarehouselocid">
|
|
|
- <treeselect
|
|
|
- v-model="importList.fWarehouselocid"
|
|
|
- @select="getAlltree"
|
|
|
- :options="fWarehouseidOptions"
|
|
|
- :show-count="true"
|
|
|
- :disable-branch-nodes="true"
|
|
|
- placeholder="请选择库区"
|
|
|
+ <el-form-item label="计划件数" prop="fPlanqty">
|
|
|
+ <el-input
|
|
|
+ v-input-limit="0"
|
|
|
+ v-model.number="importList.fPlanqty"
|
|
|
+ style="width: 100%"
|
|
|
+ placeholder="件数"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
+ <el-form-item label="计划毛重(kg)" prop="fPlangrossweight">
|
|
|
+ <el-input
|
|
|
+ v-model.number="importList.fPlangrossweight"
|
|
|
+ v-input-limit="2"
|
|
|
+ style="width: 100%"
|
|
|
+ placeholder="毛重">
|
|
|
+ <template slot="append">{{ (importList.fPlangrossweight / 1000).toFixed(2) }}吨</template>
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="计划净重(kg)" prop="fPlannetweight">
|
|
|
+ <el-input
|
|
|
+ v-model.number="importList.fPlannetweight"
|
|
|
+ v-input-limit="2"
|
|
|
+ style="width: 100%"
|
|
|
+ placeholder="净重"
|
|
|
+ >
|
|
|
+ <template slot="append">{{ (importList.fPlannetweight / 1000).toFixed(2) }}吨</template>
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="6">
|
|
|
<el-form-item label="件数" prop="fQty">
|
|
|
<el-input
|
|
|
v-input-limit="0"
|
|
@@ -1494,6 +1542,18 @@
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="库区" prop="fWarehouselocid">
|
|
|
+ <treeselect
|
|
|
+ v-model="importList.fWarehouselocid"
|
|
|
+ @select="getAlltree"
|
|
|
+ :options="fWarehouseidOptions"
|
|
|
+ :show-count="true"
|
|
|
+ :disable-branch-nodes="true"
|
|
|
+ placeholder="请选择库区"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="6">
|
|
@@ -1509,6 +1569,7 @@
|
|
|
<el-form-item label="箱型" prop="fCntrtype">
|
|
|
<el-select
|
|
|
placeholder="请选择箱型"
|
|
|
+ style="width: 100%"
|
|
|
v-model="importList.fCntrtype"
|
|
|
>
|
|
|
<el-option
|
|
@@ -1622,7 +1683,7 @@
|
|
|
v-model="importList.fGoodsval"
|
|
|
style="width: 100%"
|
|
|
placeholder="货值"
|
|
|
- />
|
|
|
+ ><template slot="append">万</template></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
@@ -2519,15 +2580,15 @@
|
|
|
<td colspan="3">{{ form.fCustomsdeclartion }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>入库日期</td>
|
|
|
- <td>箱号</td>
|
|
|
+ <td class="oneHundredSix">入库日期</td>
|
|
|
+ <td class="twoHundred">箱号</td>
|
|
|
<td>铅封号</td>
|
|
|
<td>预计件数</td>
|
|
|
<td>垛位</td>
|
|
|
<td>实收件数</td>
|
|
|
- <td>实收净重(吨)</td>
|
|
|
- <td>毛重(吨)</td>
|
|
|
- <td>备注</td>
|
|
|
+ <td class="oneHundred">实收净重(吨)</td>
|
|
|
+ <td class="oneHundred">毛重(吨)</td>
|
|
|
+ <td class="twoHundred">备注</td>
|
|
|
</tr>
|
|
|
<tr v-for="(item, index) in Printinglist" :key="index">
|
|
|
<td>{{ item.fBsdate }}</td>
|
|
@@ -3187,7 +3248,7 @@
|
|
|
{{ company }}有限公司
|
|
|
</div>
|
|
|
<div style="display:flex;flex-direction: column;margin-left: 70%">
|
|
|
- <div>{{ form.fBillno }}1111</div>
|
|
|
+ <div>{{ form.fBillno }}</div>
|
|
|
<div>存货地点:{{ stockName }}</div>
|
|
|
</div>
|
|
|
<div class="print_table" style="display: flex">
|
|
@@ -3199,15 +3260,15 @@
|
|
|
<td colspan="3">{{ form.fCustomsdeclartion}}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>入库日期</td>
|
|
|
- <td>箱号</td>
|
|
|
+ <td class="oneHundredSix" style="width: 160px;">入库日期</td>
|
|
|
+ <td class="twoHundred" style="width: 200px;">箱号</td>
|
|
|
<td>铅封号</td>
|
|
|
<td>预计件数</td>
|
|
|
<td>垛位</td>
|
|
|
<td>实收件数</td>
|
|
|
- <td>实收净重(吨)</td>
|
|
|
- <td>毛重(吨)</td>
|
|
|
- <td>备注</td>
|
|
|
+ <td class="oneHundred" style="width: 100px;">实收净重(吨)</td>
|
|
|
+ <td class="oneHundred" style="width: 100px;">毛重(吨)</td>
|
|
|
+ <td class="twoHundred" style="width: 200px;">备注</td>
|
|
|
</tr>
|
|
|
<tr v-for="(item, index) in Printinglist" :key="index">
|
|
|
<td>{{ item.fBsdate }} {{ timeOut }}</td>
|
|
@@ -3856,6 +3917,7 @@ import {
|
|
|
ordersRevoke,
|
|
|
checkCode,
|
|
|
queryClerkRoleList,
|
|
|
+ pleaseCheck,
|
|
|
} from "@/api/warehouseBusiness/warehouseInStock";
|
|
|
import { operationAgreement } from "@/api/agreement/agreement";
|
|
|
import { listCorps } from "@/api/basicdata/corps";
|
|
@@ -3906,6 +3968,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
timeOut:'',
|
|
|
+ plannedGrossWeight:0,
|
|
|
container:'',
|
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
@@ -3964,6 +4027,7 @@ export default {
|
|
|
isrequired2: 2,
|
|
|
detailsHidden: false,
|
|
|
detailsHidden2: true,
|
|
|
+ fSalesmanId:[],
|
|
|
CntrTable: [],
|
|
|
cntrList: [],
|
|
|
fTrademodeidOptions: [],
|
|
@@ -4093,128 +4157,146 @@ export default {
|
|
|
name: "箱量",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
+ },{
|
|
|
+ surface: "9",
|
|
|
+ label: "fPlanqty",
|
|
|
+ name: "计划件数",
|
|
|
+ checked: 1,
|
|
|
+ width: 100,
|
|
|
+ },{
|
|
|
+ surface: "10",
|
|
|
+ label: "fPlangrossweight",
|
|
|
+ name: "计划毛重",
|
|
|
+ checked: 1,
|
|
|
+ width: 100,
|
|
|
+ },{
|
|
|
+ surface: "11",
|
|
|
+ label: "fPlannetweight",
|
|
|
+ name: "计划净重",
|
|
|
+ checked: 1,
|
|
|
+ width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "9",
|
|
|
+ surface: "12",
|
|
|
label: "fQty",
|
|
|
name: "入库件数",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "10",
|
|
|
+ surface: "13",
|
|
|
label: "fGrossweight",
|
|
|
name: "入库毛重(kg)",
|
|
|
checked: 0,
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "11",
|
|
|
+ surface: "14",
|
|
|
label: "fNetweight",
|
|
|
name: "入库净重(kg)",
|
|
|
checked: 0,
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "12",
|
|
|
+ surface: "15",
|
|
|
label: "fPackagespecs",
|
|
|
name: "包装规格",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "13",
|
|
|
+ surface: "16",
|
|
|
label: "fFleet",
|
|
|
name: "车队",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "14",
|
|
|
+ surface: "17",
|
|
|
label: "fTruckno",
|
|
|
name: "车号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "15",
|
|
|
+ surface: "18",
|
|
|
label: "fDriverName",
|
|
|
name: "司机名称",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "16",
|
|
|
+ surface: "19",
|
|
|
label: "fDriverTel",
|
|
|
name: "司机电话",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "17",
|
|
|
+ surface: "20",
|
|
|
label: "fDriverIdCar",
|
|
|
name: "司机身份证",
|
|
|
checked: 0,
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
|
- surface: "18",
|
|
|
+ surface: "21",
|
|
|
label: "fSerialNumber",
|
|
|
name: "流水号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "19",
|
|
|
+ surface: "22",
|
|
|
label: "fCntrno",
|
|
|
name: "箱号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "20",
|
|
|
+ surface: "23",
|
|
|
label: "fLntype",
|
|
|
name: "装卸方式",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "21",
|
|
|
+ surface: "24",
|
|
|
label: "fForkliftman",
|
|
|
name: "叉车工",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "22",
|
|
|
+ surface: "25",
|
|
|
label: "fStevedore",
|
|
|
name: "装卸工",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "23",
|
|
|
+ surface: "26",
|
|
|
label: "fLocalcntrno",
|
|
|
name: "库内箱号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "24",
|
|
|
+ surface: "27",
|
|
|
label: "fSealno",
|
|
|
name: "封号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "25",
|
|
|
+ surface: "28",
|
|
|
label: "fGoodsval",
|
|
|
name: "货值",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "26",
|
|
|
+ surface: "29",
|
|
|
label: "remark",
|
|
|
name: "备注",
|
|
|
checked: 0,
|
|
@@ -4247,6 +4329,8 @@ export default {
|
|
|
showfValue: null,
|
|
|
showfIfinspection: null,
|
|
|
showfPartNumber: null,
|
|
|
+ newPlan:1,
|
|
|
+ entryPrinting:1,
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -4293,6 +4377,12 @@ export default {
|
|
|
this.getConfigKey("stockoi").then((response) => {
|
|
|
this.stockoi = response.msg;
|
|
|
});
|
|
|
+ this.getConfigKey("entry.printing").then((response) => {
|
|
|
+ this.entryPrinting = response.msg;
|
|
|
+ });
|
|
|
+ this.getConfigKey("new.plan").then((response) => {
|
|
|
+ this.newPlan = response.msg;
|
|
|
+ });
|
|
|
this.getConfigKey("show_fCustomno").then((response) => {
|
|
|
this.showfCustomno = response.msg;
|
|
|
});
|
|
@@ -4695,10 +4785,7 @@ export default {
|
|
|
if (this.Printinglist[item].fBillstatus === 10) {
|
|
|
return this.$message.error("请先打印作业单");
|
|
|
}
|
|
|
- if (
|
|
|
- this.Printinglist[item].fBillstatus >= 30 &&
|
|
|
- this.stockoi == "0"
|
|
|
- ) {
|
|
|
+ if (this.Printinglist[item].fBillstatus >= 30 && this.stockoi == "0") {
|
|
|
return this.$message.error("请勿重复卸货");
|
|
|
}
|
|
|
}
|
|
@@ -4809,11 +4896,8 @@ export default {
|
|
|
if (!this.Printinglist[item].fId) {
|
|
|
return this.$message.error("请存在未保存的数据");
|
|
|
}
|
|
|
- if (
|
|
|
- this.Printinglist[item].fBillstatus == 10 &&
|
|
|
- this.stockoi == "0"
|
|
|
- ) {
|
|
|
- return this.$message.error("请存在未打印的作业单");
|
|
|
+ if (this.entryPrinting == 0){
|
|
|
+ if (this.Printinglist[item].fBillstatus == 10 && this.stockoi == "0") return this.$message.error("请存在未打印的作业单");
|
|
|
}
|
|
|
if (
|
|
|
this.Printinglist[item].fBillstatus == 20 &&
|
|
@@ -5732,17 +5816,31 @@ export default {
|
|
|
return sums;
|
|
|
},
|
|
|
playcomputer() {
|
|
|
- let Num1 = Number(this.form.fPlannetweight) / Number(this.form.fPlanqty);
|
|
|
- let Num2 =
|
|
|
- Number(this.form.fPlangrossweight) / Number(this.form.fPlanqty);
|
|
|
- this.importList.fNetweight = Number(
|
|
|
- (this.importList.fQty * Num1).toFixed(2)
|
|
|
- );
|
|
|
- this.tfNetweightnum2 = (this.importList.fNetweight / 1000).toFixed(2);
|
|
|
- this.importList.fGrossweight = Number(
|
|
|
- (this.importList.fQty * Num2).toFixed(2)
|
|
|
- );
|
|
|
- this.tfGrossweightnum2 = (this.importList.fGrossweight / 1000).toFixed(2);
|
|
|
+ if (this.importList.fPlannetweight && this.importList.fPlanqty && this.importList.fPlangrossweight){
|
|
|
+ let Num1 = Number(this.importList.fPlannetweight) / Number(this.importList.fPlanqty);
|
|
|
+ let Num2 =
|
|
|
+ Number(this.importList.fPlangrossweight) / Number(this.importList.fPlanqty);
|
|
|
+ this.importList.fNetweight = Number(
|
|
|
+ (this.importList.fQty * Num1).toFixed(2)
|
|
|
+ );
|
|
|
+ this.tfNetweightnum2 = (this.importList.fNetweight / 1000).toFixed(2);
|
|
|
+ this.importList.fGrossweight = Number(
|
|
|
+ (this.importList.fQty * Num2).toFixed(2)
|
|
|
+ );
|
|
|
+ this.tfGrossweightnum2 = (this.importList.fGrossweight / 1000).toFixed(2);
|
|
|
+ }else {
|
|
|
+ let Num1 = Number(this.form.fPlannetweight) / Number(this.form.fPlanqty);
|
|
|
+ let Num2 =
|
|
|
+ Number(this.form.fPlangrossweight) / Number(this.form.fPlanqty);
|
|
|
+ this.importList.fNetweight = Number(
|
|
|
+ (this.importList.fQty * Num1).toFixed(2)
|
|
|
+ );
|
|
|
+ this.tfNetweightnum2 = (this.importList.fNetweight / 1000).toFixed(2);
|
|
|
+ this.importList.fGrossweight = Number(
|
|
|
+ (this.importList.fQty * Num2).toFixed(2)
|
|
|
+ );
|
|
|
+ this.tfGrossweightnum2 = (this.importList.fGrossweight / 1000).toFixed(2);
|
|
|
+ }
|
|
|
},
|
|
|
imporComputer() {
|
|
|
this.playcomputer();
|
|
@@ -5764,9 +5862,10 @@ export default {
|
|
|
type: "warning",
|
|
|
});
|
|
|
}
|
|
|
- this.importList.fPlanqty=this.form.fPlanqty
|
|
|
- this.importList.fPlannetweight=this.form.fPlannetweight
|
|
|
- this.importList.fNetweight=this.form.fNetweight
|
|
|
+ this.$set(this.importList,'fPlanqty',this.form.fPlanqty)
|
|
|
+ this.$set(this.importList,'fPlangrossweight',this.form.fPlangrossweight)
|
|
|
+ this.$set(this.importList,'fPlannetweight',this.form.fPlannetweight)
|
|
|
+ this.$set(this.importList,'fNetweight',this.form.fNetweight)
|
|
|
this.importList.fQty = Number(
|
|
|
(this.form.fPlanqty - this.sumMum).toFixed(2)
|
|
|
);
|
|
@@ -5858,6 +5957,41 @@ export default {
|
|
|
this.$message.error("请选择需要打印的明细!");
|
|
|
}
|
|
|
},
|
|
|
+ detailedApproval(command){
|
|
|
+ if (command === 'QH'){
|
|
|
+ pleaseCheck(this.form.fId).then(res =>{
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.msgSuccess("请核成功");
|
|
|
+ this.$set(this.form,'fItemstatus',4)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }else if(command === 'CK'){
|
|
|
+ this.addOrUpdateVisible = true;
|
|
|
+ let actId = "170";
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.addOrUpdate.init(this.form.fId, actId, 'f_itemstatus');
|
|
|
+ });
|
|
|
+ }else if(command === 'SP'){
|
|
|
+ this.addOrUpdateVisib = true;
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.ApprovalComments.init(this.form.fId, 'f_itemstatus', 170);
|
|
|
+ });
|
|
|
+ }else if(command === 'CX'){
|
|
|
+ let data = {
|
|
|
+ actId: 170,
|
|
|
+ billId: this.form.fId,
|
|
|
+ id: this.form.fId,
|
|
|
+ fidStatus: 'f_itemstatus',
|
|
|
+ };
|
|
|
+ revokeTwo(data).then((data) => {
|
|
|
+ if (data.code === 200) {
|
|
|
+ this.browseStatus = false;
|
|
|
+ this.msgSuccess("撤销成功");
|
|
|
+ this.$set(this.form,'fItemstatus',2)
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
handleCommand(command) {
|
|
|
if (this.Printinglist.length > 0) {
|
|
|
this.$refs["form"].validate((valid) => {
|
|
@@ -6268,10 +6402,13 @@ export default {
|
|
|
});
|
|
|
break
|
|
|
case 'ccdzrkd':
|
|
|
+ let stylEe =
|
|
|
+ "@page { } " +
|
|
|
+ "@media print {.oneHundred{width: 100px} .twoHundred{width: 200px} .oneHundredSix{width: 160px} .print-div{ padding:8px;background-color:#cccccc;} .print-title{display:flex;justify-content: center;font-size:24px} .print_form{font-size:12px} .print_table table {border-right: 1px solid #000;border-bottom: 1px solid #000;font-size:12px} .print_table table td {border-left: 1px solid #000;border-top: 1px solid #000;padding:2px;vertical-align:middle;text-align: center;}";
|
|
|
print({
|
|
|
printable: "print_area8",
|
|
|
type: "html",
|
|
|
- style: style, // 亦可使用引入的外部css;
|
|
|
+ style: stylEe, // 亦可使用引入的外部css;
|
|
|
scanStyles: false,
|
|
|
});
|
|
|
break
|