|
@@ -85,49 +85,28 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item
|
|
|
- v-if="dataShowcar == '1'"
|
|
|
- label="结算方式"
|
|
|
- prop="fStltypeid"
|
|
|
- >
|
|
|
- <el-select
|
|
|
- v-model="form.fStltypeid"
|
|
|
- placeholder="请选择结算方式"
|
|
|
- clearable
|
|
|
- :disabled="browseStatus || form.warehouseStatus > 3"
|
|
|
- style="width: 80%"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(item, index) in fStltypeOptions"
|
|
|
- :key="index.dictValue"
|
|
|
- :label="item.dictLabel"
|
|
|
- :value="item.dictValue"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item
|
|
|
- v-if="dataShowcar == '0'"
|
|
|
- label="计费单位"
|
|
|
- prop="fFeetUnit"
|
|
|
- >
|
|
|
- <el-select
|
|
|
- v-model="form.fFeetUnit"
|
|
|
- placeholder="请选择计费单位"
|
|
|
- clearable
|
|
|
- :disabled="browseStatus || form.warehouseStatus > 3"
|
|
|
- style="width: 80%"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(item, index) in fFeetUnitOptions"
|
|
|
- :key="index.dictValue"
|
|
|
- :label="item.dictLabel"
|
|
|
- :value="item.dictValue"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
+ <el-form-item label="作业类型" prop="fBusinessType">
|
|
|
+ <el-select
|
|
|
+ style="width: 80%"
|
|
|
+ v-model="form.fBusinessType"
|
|
|
+ filterable
|
|
|
+ @change="educationChange"
|
|
|
+ :disabled="
|
|
|
+ browseStatus ||
|
|
|
+ warehouseDrList.length > 0 ||
|
|
|
+ warehouseCrList.length > 0 ||
|
|
|
+ form.warehouseStatus > 3
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in businessTypeOption"
|
|
|
+ :key="index.dictValue"
|
|
|
+ :label="item.dictLabel"
|
|
|
+ :value="item.dictValue"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="提单号" prop="fMblno">
|
|
|
<el-input
|
|
@@ -139,6 +118,7 @@
|
|
|
"
|
|
|
style="width: 80%"
|
|
|
placeholder="请输入提单号"
|
|
|
+ v-Space
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -343,25 +323,20 @@
|
|
|
<div v-if="detailsHidden2">
|
|
|
<el-row>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="作业类型" prop="fBusinessType">
|
|
|
+ <el-form-item label="计费单位" prop="fFeetUnit">
|
|
|
<el-select
|
|
|
+ v-model="form.fFeetUnit"
|
|
|
+ placeholder="请选择计费单位"
|
|
|
+ clearable
|
|
|
+ :disabled="browseStatus || form.warehouseStatus > 3"
|
|
|
style="width: 80%"
|
|
|
- v-model="form.fBusinessType"
|
|
|
- filterable
|
|
|
- @change="educationChange"
|
|
|
- :disabled="
|
|
|
- browseStatus ||
|
|
|
- warehouseDrList.length > 0 ||
|
|
|
- warehouseCrList.length > 0 ||
|
|
|
- form.warehouseStatus > 3
|
|
|
- "
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="(item, index) in businessTypeOption"
|
|
|
+ v-for="(item, index) in fFeetUnitOptions"
|
|
|
:key="index.dictValue"
|
|
|
:label="item.dictLabel"
|
|
|
:value="item.dictValue"
|
|
|
- ></el-option>
|
|
|
+ />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -414,31 +389,7 @@
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item
|
|
|
- v-if="dataShowcar == '1'"
|
|
|
- label="计费单位"
|
|
|
- prop="fFeetUnit"
|
|
|
- >
|
|
|
- <el-select
|
|
|
- v-model="form.fFeetUnit"
|
|
|
- placeholder="请选择计费单位"
|
|
|
- clearable
|
|
|
- :disabled="browseStatus || form.warehouseStatus > 3"
|
|
|
- style="width: 80%"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="(item, index) in fFeetUnitOptions"
|
|
|
- :key="index.dictValue"
|
|
|
- :label="item.dictLabel"
|
|
|
- :value="item.dictValue"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item
|
|
|
- v-if="dataShowcar == '0'"
|
|
|
- label="结算方式"
|
|
|
- prop="fStltypeid"
|
|
|
- >
|
|
|
+ <el-form-item label="结算方式" prop="fStltypeid">
|
|
|
<el-select
|
|
|
v-model="form.fStltypeid"
|
|
|
placeholder="请选择结算方式"
|
|
@@ -553,6 +504,7 @@
|
|
|
<el-row>
|
|
|
<el-col :offset="16" :span="6">
|
|
|
<el-button
|
|
|
+ v-if="dataShowcar == '0'"
|
|
|
@click="
|
|
|
detailsHidden2
|
|
|
? (detailsHidden2 = false)
|
|
@@ -1188,7 +1140,7 @@
|
|
|
>撤回入库
|
|
|
</el-button>
|
|
|
<el-dropdown @command="handleCommand" style="margin-left: 10px">
|
|
|
- <el-button :disabled="browseStatus" size="small" type="success">
|
|
|
+ <el-button size="small" type="success">
|
|
|
打印单据<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
</el-button>
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
@@ -1552,7 +1504,7 @@
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="车队" prop="fFleet">
|
|
|
<el-select
|
|
|
- style="width: 80%"
|
|
|
+ style="width: 100%"
|
|
|
v-model="importList.fFleet"
|
|
|
clearable
|
|
|
filterable
|
|
@@ -2594,7 +2546,7 @@
|
|
|
>
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
- v-if="approVal == true&&form.fBillstatus==6"
|
|
|
+ v-if="approVal == true && form.fBillstatus == 4"
|
|
|
@click="addOrUpdateHand(form, 'f_billstatus')"
|
|
|
>审批</el-button
|
|
|
>
|
|
@@ -2624,7 +2576,7 @@
|
|
|
>保 存</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
- :disabled="form.fBillstatus >3"
|
|
|
+ :disabled="form.fBillstatus > 3"
|
|
|
style="background-color: #008000; color: #fff"
|
|
|
@click="submitForm()"
|
|
|
>请核</el-button
|
|
@@ -2929,91 +2881,91 @@ export default {
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "13",
|
|
|
+ surface: "14",
|
|
|
label: "fTruckno",
|
|
|
name: "车号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "14",
|
|
|
+ surface: "15",
|
|
|
label: "fDriverName",
|
|
|
name: "司机名称",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "15",
|
|
|
+ surface: "16",
|
|
|
label: "fDriverTel",
|
|
|
name: "司机电话",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "16",
|
|
|
+ surface: "17",
|
|
|
label: "fDriverIdCar",
|
|
|
name: "司机身份证",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "17",
|
|
|
+ surface: "18",
|
|
|
label: "fSerialNumber",
|
|
|
name: "流水号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "18",
|
|
|
+ surface: "19",
|
|
|
label: "fCntrno",
|
|
|
name: "箱号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "19",
|
|
|
+ surface: "20",
|
|
|
label: "fLntype",
|
|
|
name: "装卸方式",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "20",
|
|
|
+ surface: "21",
|
|
|
label: "fForkliftman",
|
|
|
name: "叉车工",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "21",
|
|
|
+ surface: "22",
|
|
|
label: "fStevedore",
|
|
|
name: "装卸工",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "22",
|
|
|
+ surface: "23",
|
|
|
label: "fLocalcntrno",
|
|
|
name: "库内箱号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "23",
|
|
|
+ surface: "24",
|
|
|
label: "fSealno",
|
|
|
name: "封号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "24",
|
|
|
+ surface: "25",
|
|
|
label: "fGoodsval",
|
|
|
name: "货值",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "25",
|
|
|
+ surface: "26",
|
|
|
label: "remark",
|
|
|
name: "备注",
|
|
|
checked: 0,
|
|
@@ -3084,14 +3036,15 @@ export default {
|
|
|
this.getConfigKey("data_showcar").then((response) => {
|
|
|
this.dataShowcar = response.msg;
|
|
|
if (this.dataShowcar == "0") {
|
|
|
- this.detailsHidden2 = true;
|
|
|
- this.form.fBusinessType = "0";
|
|
|
- } else {
|
|
|
this.detailsHidden2 = false;
|
|
|
+
|
|
|
+ } else {
|
|
|
+ this.detailsHidden2 = true;
|
|
|
}
|
|
|
});
|
|
|
this.getConfigKey("instock.orders.approval").then((response) => {
|
|
|
this.showApproval = response.msg;
|
|
|
+ console.log(this.showApproval);
|
|
|
});
|
|
|
listWarehousesss({ fStatus: 0, delFlag: 0 }).then((response) => {
|
|
|
this.warehouseOptions = response.rows;
|
|
@@ -3238,9 +3191,9 @@ export default {
|
|
|
this.CntrTable = [];
|
|
|
this.sumMum = 0;
|
|
|
if (this.dataShowcar == "0") {
|
|
|
- this.detailsHidden2 = true;
|
|
|
- } else {
|
|
|
this.detailsHidden2 = false;
|
|
|
+ } else {
|
|
|
+ this.detailsHidden2 = true;
|
|
|
}
|
|
|
if (this.$route.query.id) {
|
|
|
this.approVal = true;
|
|
@@ -3902,10 +3855,15 @@ export default {
|
|
|
this.relevantAttachments = response.data.enclosures;
|
|
|
}
|
|
|
} else {
|
|
|
+ this.approvalStatus = false;
|
|
|
+ this.browseStatus = false;
|
|
|
this.$set(this.form, "fId", null);
|
|
|
this.$set(this.form, "fMblno", null);
|
|
|
this.$set(this.form, "fMarks", null);
|
|
|
this.$set(this.form, "fProductName", null);
|
|
|
+ this.$set(this.form, "warehouseStatus", null);
|
|
|
+ this.$set(this.form, "fBillstatus", null);
|
|
|
+ this.$set(this.form, "fItemsStatus", null);
|
|
|
this.$set(this.form, "fNetweight", 0);
|
|
|
this.$set(this.form, "fPlanvolumn", 0);
|
|
|
this.$set(this.form, "fGrossweight", 0);
|
|
@@ -4778,6 +4736,8 @@ export default {
|
|
|
this.$set(this.form, "fTrademodeid", "1");
|
|
|
this.$set(this.form, "createTime", Date.parse(new Date()));
|
|
|
this.$set(this.form, "fBstime", Date.parse(new Date()));
|
|
|
+ this.$set(this.form, "fBusinessType", "0");
|
|
|
+ this.$set(this.form, "fFeetUnit", "2");
|
|
|
}
|
|
|
if (response.dept !== null) {
|
|
|
this.deptOptions = [];
|