|
@@ -89,7 +89,7 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
- <el-form-item label="发货日期" prop="date">
|
|
|
|
|
|
+ <el-form-item label="单据日期" prop="date">
|
|
<el-date-picker
|
|
<el-date-picker
|
|
v-model="screenForm.date"
|
|
v-model="screenForm.date"
|
|
type="datetimerange"
|
|
type="datetimerange"
|
|
@@ -102,6 +102,20 @@
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6">
|
|
|
|
+ <el-form-item label="审核日期" prop="approval">
|
|
|
|
+ <el-date-picker
|
|
|
|
+ v-model="screenForm.approval"
|
|
|
|
+ type="datetimerange"
|
|
|
|
+ range-separator="至"
|
|
|
|
+ style="width: 100%"
|
|
|
|
+ value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
+ start-placeholder="开始日期"
|
|
|
|
+ end-placeholder="结束日期"
|
|
|
|
+ >
|
|
|
|
+ </el-date-picker>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
|
|
<el-col :xs="24" :sm="12" :lg="18" class="tr">
|
|
<el-col :xs="24" :sm="12" :lg="18" class="tr">
|
|
<el-form-item label="">
|
|
<el-form-item label="">
|
|
@@ -135,7 +149,7 @@
|
|
v-if="$checkBtnRole('examine', $route.meta.roles)"
|
|
v-if="$checkBtnRole('examine', $route.meta.roles)"
|
|
>批量审批</el-button
|
|
>批量审批</el-button
|
|
>
|
|
>
|
|
-
|
|
|
|
|
|
+ <template v-if="$checkBtnRole('receipt', $route.meta.roles)">
|
|
<el-date-picker
|
|
<el-date-picker
|
|
v-model="value1"
|
|
v-model="value1"
|
|
size="mini"
|
|
size="mini"
|
|
@@ -150,11 +164,13 @@
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
<el-button
|
|
<el-button
|
|
size="mini"
|
|
size="mini"
|
|
|
|
+
|
|
type="warning"
|
|
type="warning"
|
|
icon="el-icon-finished"
|
|
icon="el-icon-finished"
|
|
@click="updateReceipt"
|
|
@click="updateReceipt"
|
|
>更新发票</el-button
|
|
>更新发票</el-button
|
|
>
|
|
>
|
|
|
|
+ </template>
|
|
</div>
|
|
</div>
|
|
<div class="fr">
|
|
<div class="fr">
|
|
<ExportButton :exUrl="'sale/order/export'" :exParams="exParams" />
|
|
<ExportButton :exUrl="'sale/order/export'" :exParams="exParams" />
|
|
@@ -459,6 +475,8 @@ export default {
|
|
date: "",
|
|
date: "",
|
|
status: "",
|
|
status: "",
|
|
mainOrderId: "",
|
|
mainOrderId: "",
|
|
|
|
+ approval:'',
|
|
|
|
+
|
|
},
|
|
},
|
|
statusList: [
|
|
statusList: [
|
|
{ label: "已保存", value: "SAVE" },
|
|
{ label: "已保存", value: "SAVE" },
|
|
@@ -509,6 +527,8 @@ export default {
|
|
correspondName: this.screenForm.warehouse,
|
|
correspondName: this.screenForm.warehouse,
|
|
startTime: this.screenForm.date ? this.screenForm.date[0] : "",
|
|
startTime: this.screenForm.date ? this.screenForm.date[0] : "",
|
|
endTime: this.screenForm.date ? this.screenForm.date[1] : "",
|
|
endTime: this.screenForm.date ? this.screenForm.date[1] : "",
|
|
|
|
+ approvalStartTime: this.screenForm.approval ? this.screenForm.approval[0] : "",
|
|
|
|
+ approvalEndTime: this.screenForm.approval ? this.screenForm.approval[1] : "",
|
|
mainOrderId: this.screenForm.mainOrderId,
|
|
mainOrderId: this.screenForm.mainOrderId,
|
|
};
|
|
};
|
|
},
|
|
},
|
|
@@ -540,6 +560,8 @@ export default {
|
|
correspondName: this.screenForm.warehouse,
|
|
correspondName: this.screenForm.warehouse,
|
|
startTime: this.screenForm.date ? this.screenForm.date[0] : "",
|
|
startTime: this.screenForm.date ? this.screenForm.date[0] : "",
|
|
endTime: this.screenForm.date ? this.screenForm.date[1] : "",
|
|
endTime: this.screenForm.date ? this.screenForm.date[1] : "",
|
|
|
|
+ approvalStartTime: this.screenForm.approval ? this.screenForm.approval[0] : "",
|
|
|
|
+ approvalEndTime: this.screenForm.approval ? this.screenForm.approval[1] : "",
|
|
mainOrderId: this.screenForm.mainOrderId,
|
|
mainOrderId: this.screenForm.mainOrderId,
|
|
};
|
|
};
|
|
getList(params).then((res) => {
|
|
getList(params).then((res) => {
|