Browse Source

完善测试问题

master
myTest383 7 months ago
parent
commit
962c4d2bee
  1. 8
      yxt-as-ui/src/views/maintenanceReceive/index.vue
  2. 2
      yxt-as-ui/src/views/maintenanceReceive/maintenanceReturnBound.vue
  3. 2
      yxt-as-ui/src/views/storage/deliveryNotice/index.vue
  4. 44
      yxt-as-ui/src/views/storage/maintenanceInOrOutBound/index.vue
  5. 6
      yxt-as-ui/src/views/storage/outStorage/outStorageAdd.vue

8
yxt-as-ui/src/views/maintenanceReceive/index.vue

@ -15,10 +15,10 @@
<el-option v-for="item in repairTypeList" :key="item.sid" :label="item.name" :value="item.name" />
</el-select>
</el-form-item>
<el-form-item label="工单编号">
<el-form-item label="维修单号">
<el-input v-model="queryParams.params.billNo" placeholder="" clearable />
</el-form-item>
<el-form-item label="单类型">
<el-form-item label="维修单类型">
<el-select v-model="queryParams.params.billType" filterable clearable placeholder="请选择"
style="width:100%">
<el-option v-for="item in billTypeList" :key="item.dictKey" :label="item.dictValue"
@ -74,14 +74,14 @@
<el-table-column fixed width="50" type="selection" align="center" />
<el-table-column fixed width="80" label="序号" type="index" :index="indexMethod" align="center" />
<el-table-column prop="repairState" label="维修状态" align="center" />
<el-table-column label="单编号" width="180" align="center">
<el-table-column label="维修单编号" width="180" align="center">
<template slot-scope="scope">
<div style="color: #1890FF; text-decoration: underline ;" @click="showResult(scope.row)">
{{ scope.row.billNo }}
</div>
</template>
</el-table-column>
<el-table-column prop="billTypeValue" label="单类型" align="center" />
<el-table-column prop="billTypeValue" label="维修单类型" align="center" />
<el-table-column prop="subjectValue" label="科目" align="center" />
<el-table-column prop="isGoOut" label="是否外出" align="center" />
<el-table-column prop="customerName" label="客户名称" align="center" />

2
yxt-as-ui/src/views/maintenanceReceive/maintenanceReturnBound.vue

@ -217,7 +217,7 @@
</template>
</el-table-column>
<el-table-column label="领料人" prop="receivePer" width="120" align="center" />
<el-table-column label="领料时间" prop="receiveTimes" width="120" align="center" />
<el-table-column label="接收时间" prop="receiveTimes" width="120" align="center" />
</el-table>
</el-form>

2
yxt-as-ui/src/views/storage/deliveryNotice/index.vue

@ -483,7 +483,7 @@
}
if (this.selectionList[0].busTypeValue == '采购入库' &&
this.selectionList[0].manufactorBillNo != '') {
this.selectionList[0].manufactorBillNo == '') {
this.$message({
type: 'warning',
message: "厂家订单号不能为空",

44
yxt-as-ui/src/views/storage/maintenanceInOrOutBound/index.vue

@ -234,31 +234,31 @@
toBuild() {
// if (this.sids.length > 0) {
const loading = this.$loading({
lock: true,
text: 'Loading',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
})
const loading = this.$loading({
lock: true,
text: 'Loading',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
})
req.exportExcel(this.queryParams.params).then((resp) => {
loading.close()
const blob = new Blob([resp], {
type: 'application/vnd.ms-excel'
})
const fileName = '旧件出入库记录' + '.xls'
const elink = document.createElement('a')
elink.download = fileName
elink.style.display = 'nonde'
elink.href = URL.createObjectURL(blob)
document.body.appendChild(elink)
elink.click()
URL.revokeObjectURL(elink.href)
document.body.removeChild(elink)
}).catch(() => {
loading.close()
req.exportExcel(this.queryParams.params).then((resp) => {
loading.close()
const blob = new Blob([resp], {
type: 'application/vnd.ms-excel'
})
const fileName = '旧件出入库记录' + '.xls'
const elink = document.createElement('a')
elink.download = fileName
elink.style.display = 'nonde'
elink.href = URL.createObjectURL(blob)
document.body.appendChild(elink)
elink.click()
URL.revokeObjectURL(elink.href)
document.body.removeChild(elink)
}).catch(() => {
loading.close()
})
// } else {
// this.$message({
// type: "warning",

6
yxt-as-ui/src/views/storage/outStorage/outStorageAdd.vue

@ -240,9 +240,9 @@
// }
// })
// },
// commodityDelete(index) {
// this.formobj.detailsList.splice(index, 1)
// },
commodityDelete(index) {
this.formobj.detailsList.splice(index, 1)
},
// commodityCurrentChange(value, row) {
// console.log("commodityCurrentChange", value)
// console.log("commodityCurrentChange", row)

Loading…
Cancel
Save