|
@@ -9,11 +9,10 @@
|
|
|
<el-button size="mini" type="primary" @click="submitScreenForm">搜索</el-button>
|
|
|
</template>
|
|
|
<template #left_btn>
|
|
|
- <el-radio-group size="mini" v-model="screenForm.status" @change="screenForm.examineStatus='',getList()">
|
|
|
+ <el-radio-group size="mini" v-model="screenForm.examineStatus" @change="getList">
|
|
|
<el-radio-button label="">全部</el-radio-button>
|
|
|
- <el-radio-button v-for="(item, index) in statusList" :key="index" :label="item.value">{{
|
|
|
- item.label
|
|
|
- }}
|
|
|
+ <el-radio-button v-for="(item, index) in statusList" :key="index" :label="item.value"
|
|
|
+ >{{ item.label }}
|
|
|
</el-radio-button>
|
|
|
</el-radio-group>
|
|
|
</template>
|
|
@@ -45,7 +44,7 @@
|
|
|
<el-date-picker
|
|
|
v-model="screenForm.orderDate"
|
|
|
type="datetimerange"
|
|
|
-:default-time="['00:00:00','23:59:59']"
|
|
|
+ :default-time="['00:00:00', '23:59:59']"
|
|
|
range-separator="至"
|
|
|
style="width: 100%"
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
@@ -101,7 +100,12 @@
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
|
<el-form-item label="是否直调" prop="isDirectTransfer">
|
|
|
- <el-select v-model="screenForm.isDirectTransfer" placeholder="选择是否直" clearable style="width: 100%">
|
|
|
+ <el-select
|
|
|
+ v-model="screenForm.isDirectTransfer"
|
|
|
+ placeholder="选择是否直"
|
|
|
+ clearable
|
|
|
+ style="width: 100%"
|
|
|
+ >
|
|
|
<el-option :value="null" label="默认"></el-option>
|
|
|
<el-option v-for="item in transfer" :key="item.value" :label="item.label" :value="item.value">
|
|
|
</el-option>
|
|
@@ -111,15 +115,11 @@
|
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
|
<el-form-item label="是否关闭" prop="isClose">
|
|
|
<el-select v-model="screenForm.isClose" placeholder="是否关闭" clearable style="width: 100%">
|
|
|
- <el-option label="是" :value="true">
|
|
|
- </el-option>
|
|
|
- <el-option label="否" :value="false">
|
|
|
- </el-option>
|
|
|
-
|
|
|
+ <el-option label="是" :value="true"> </el-option>
|
|
|
+ <el-option label="否" :value="false"> </el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
-
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
</template>
|
|
@@ -135,9 +135,8 @@
|
|
|
type="primary"
|
|
|
icon="el-icon-plus"
|
|
|
@click="toForm()"
|
|
|
- >新增
|
|
|
- </el-button
|
|
|
- >
|
|
|
+ >新增
|
|
|
+ </el-button>
|
|
|
</div>
|
|
|
<div class="fr">
|
|
|
<ExportButton :ex-url="'engin-info-order/export'" :ex-params="exParams" />
|
|
@@ -167,8 +166,8 @@
|
|
|
{{ scope.row.examineStatus | statusFilter }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-<!-- <el-table-column align="left" label="数量" sortable prop="qty" min-width="160" show-overflow-tooltip />-->
|
|
|
-<!-- <el-table-column align="left" label="金额" sortable prop="price" min-width="160" show-overflow-tooltip />-->
|
|
|
+ <!-- <el-table-column align="left" label="数量" sortable prop="qty" min-width="160" show-overflow-tooltip />-->
|
|
|
+ <!-- <el-table-column align="left" label="金额" sortable prop="price" min-width="160" show-overflow-tooltip />-->
|
|
|
<el-table-column
|
|
|
align="left"
|
|
|
label="工程登录编号"
|
|
@@ -324,13 +323,7 @@
|
|
|
min-width="100"
|
|
|
show-overflow-tooltip
|
|
|
/>
|
|
|
- <el-table-column
|
|
|
- align="right"
|
|
|
- label="发货数量"
|
|
|
- prop="hasSendQty"
|
|
|
- min-width="100"
|
|
|
- show-overflow-tooltip
|
|
|
- />
|
|
|
+ <el-table-column align="right" label="发货数量" prop="hasSendQty" min-width="100" show-overflow-tooltip />
|
|
|
<el-table-column align="right" label="单价" prop="price" min-width="100" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.price | numToFixed }}
|
|
@@ -397,15 +390,8 @@
|
|
|
min-width="160"
|
|
|
show-overflow-tooltip
|
|
|
/>
|
|
|
- <el-table-column
|
|
|
- align="left"
|
|
|
- label="状态"
|
|
|
- sortable
|
|
|
- prop="isClose"
|
|
|
- min-width="160"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
- <template v-slot="{row}">
|
|
|
+ <el-table-column align="left" label="状态" sortable prop="isClose" min-width="160" show-overflow-tooltip>
|
|
|
+ <template v-slot="{ row }">
|
|
|
{{ row.isClose ? '关闭' : '启用' }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -534,9 +520,9 @@ export default {
|
|
|
salesMan: '',
|
|
|
model: '',
|
|
|
orderDate: '',
|
|
|
- isClose:'',
|
|
|
+ isClose: '',
|
|
|
isDirectTransfer: null,
|
|
|
- examineStatus:''
|
|
|
+ examineStatus: ''
|
|
|
},
|
|
|
statusList: [
|
|
|
{ label: '已保存', value: 'SAVE' },
|
|
@@ -571,7 +557,6 @@ export default {
|
|
|
return JSON.parse(localStorage.getItem('supply_user')).isCustomer
|
|
|
},
|
|
|
exParams() {
|
|
|
-
|
|
|
return {
|
|
|
enginInfoNo: this.screenForm.orderNum,
|
|
|
projectNo: this.screenForm.enginNum,
|
|
@@ -586,7 +571,7 @@ export default {
|
|
|
createName: this.screenForm.createMan,
|
|
|
confirmName: this.screenForm.examineMan,
|
|
|
examineStatus: this.screenForm.examineStatus,
|
|
|
- isClose:this.screenForm.isClose,
|
|
|
+ isClose: this.screenForm.isClose,
|
|
|
serviceId: this.screenForm.salesMan,
|
|
|
specification: this.screenForm.model,
|
|
|
isDirectTransfer: this.screenForm.isDirectTransfer
|
|
@@ -660,11 +645,11 @@ export default {
|
|
|
createName: this.screenForm.createMan,
|
|
|
confirmName: this.screenForm.examineMan,
|
|
|
examineStatus: this.screenForm.examineStatus,
|
|
|
- isClose:this.screenForm.isClose,
|
|
|
+ isClose: this.screenForm.isClose,
|
|
|
|
|
|
serviceId: this.screenForm.salesMan,
|
|
|
specification: this.screenForm.model,
|
|
|
- isDirectTransfer: this.screenForm.isDirectTransfer,
|
|
|
+ isDirectTransfer: this.screenForm.isDirectTransfer
|
|
|
}
|
|
|
getEnginList(params).then(res => {
|
|
|
res.data.records.forEach(item => {
|