|
@@ -101,6 +101,47 @@
|
|
<el-input v-model="screenForm.specification" placeholder="请输入规格型号" />
|
|
<el-input v-model="screenForm.specification" placeholder="请输入规格型号" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6">
|
|
|
|
+ <el-form-item label="审核日期" prop="approvalDate">
|
|
|
|
+ <el-date-picker
|
|
|
|
+ v-model="screenForm.approvalDate"
|
|
|
|
+ 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="6">
|
|
|
|
+ <el-form-item label="状态" prop="saleExamineStatus">
|
|
|
|
+ <el-select v-model="screenForm.saleExamineStatus" clearable filterable>
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="(item, index) in statusList"
|
|
|
|
+ :key="index"
|
|
|
|
+ :label="item.label"
|
|
|
|
+ :value="item.value"
|
|
|
|
+ />
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6">
|
|
|
|
+ <el-form-item label="出库日期" prop="saleDate">
|
|
|
|
+ <el-date-picker
|
|
|
|
+ v-model="screenForm.saleDate"
|
|
|
|
+ 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-row>
|
|
</el-row>
|
|
</el-form>
|
|
</el-form>
|
|
</template>
|
|
</template>
|
|
@@ -227,9 +268,19 @@ export default {
|
|
specification: '',
|
|
specification: '',
|
|
startTime: '',
|
|
startTime: '',
|
|
orderDate: [],
|
|
orderDate: [],
|
|
- invoiceDate: []
|
|
|
|
|
|
+ invoiceDate: [],
|
|
|
|
+ approvalDate: [],
|
|
|
|
+ saleDate: [],
|
|
|
|
+ saleExamineStatus: ''
|
|
},
|
|
},
|
|
typeList: [],
|
|
typeList: [],
|
|
|
|
+ statusList: [
|
|
|
|
+ { value: 'SAVE', label: '保存' },
|
|
|
|
+ { value: 'WAIT', label: '待审核' },
|
|
|
|
+ { value: 'OK', label: '通过' },
|
|
|
|
+ { value: 'FAIL', label: '不通过' },
|
|
|
|
+ { value: 'CLOSE', label: '关闭' }
|
|
|
|
+ ],
|
|
warehouseList: [],
|
|
warehouseList: [],
|
|
categoryList: [],
|
|
categoryList: [],
|
|
isCollapse: true,
|
|
isCollapse: true,
|
|
@@ -319,6 +370,11 @@ export default {
|
|
id: this.screenForm.id,
|
|
id: this.screenForm.id,
|
|
invoiceEndTime: this.screenForm.invoiceDate[1],
|
|
invoiceEndTime: this.screenForm.invoiceDate[1],
|
|
invoiceStartTime: this.screenForm.invoiceDate[0],
|
|
invoiceStartTime: this.screenForm.invoiceDate[0],
|
|
|
|
+ approvalStartTime: this.screenForm.approvalDate[0],
|
|
|
|
+ approvalEndTime: this.screenForm.approvalDate[1],
|
|
|
|
+ saleStartTime: this.screenForm.saleDate[0],
|
|
|
|
+ saleEndTime: this.screenForm.saleDate[1],
|
|
|
|
+ saleExamineStatus: this.screenForm.saleExamineStatus,
|
|
mainOrderId: this.screenForm.mainOrderId,
|
|
mainOrderId: this.screenForm.mainOrderId,
|
|
materialName: this.screenForm.materialName,
|
|
materialName: this.screenForm.materialName,
|
|
materialNumber: this.screenForm.materialNumber,
|
|
materialNumber: this.screenForm.materialNumber,
|
|
@@ -330,12 +386,16 @@ export default {
|
|
},
|
|
},
|
|
filterOderType() {
|
|
filterOderType() {
|
|
return type => {
|
|
return type => {
|
|
- return this.orderType.find(e => e.value === type).label
|
|
|
|
|
|
+ if (this.orderType.length && type) {
|
|
|
|
+ return this.orderType.find(e => e.value === type).label
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
filterExamineStatus() {
|
|
filterExamineStatus() {
|
|
return status => {
|
|
return status => {
|
|
- return this.examineStatus.find(e => e.value === status).label
|
|
|
|
|
|
+ if (this.examineStatus.length && status) {
|
|
|
|
+ return this.examineStatus.find(e => e.value === status).label
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -361,7 +421,12 @@ export default {
|
|
orderNo: this.screenForm.orderNo,
|
|
orderNo: this.screenForm.orderNo,
|
|
orderType: this.screenForm.orderType,
|
|
orderType: this.screenForm.orderType,
|
|
specification: this.screenForm.specification,
|
|
specification: this.screenForm.specification,
|
|
- startTime: this.screenForm.orderDate[0]
|
|
|
|
|
|
+ startTime: this.screenForm.orderDate[0],
|
|
|
|
+ approvalStartTime: this.screenForm.approvalDate[0],
|
|
|
|
+ approvalEndTime: this.screenForm.approvalDate[1],
|
|
|
|
+ saleStartTime: this.screenForm.saleDate[0],
|
|
|
|
+ saleEndTime: this.screenForm.saleDate[1],
|
|
|
|
+ saleExamineStatus: this.screenForm.saleExamineStatus
|
|
}
|
|
}
|
|
this.listLoading = true
|
|
this.listLoading = true
|
|
getListStorageFee(params).then(res => {
|
|
getListStorageFee(params).then(res => {
|