Compare commits

..

No commits in common. "742f1bde16419a9fbbf476edad79e10664827a12" and "aa42ceb0b82f2acfa01e5f66614fff0123a685b1" have entirely different histories.

5 changed files with 6 additions and 17 deletions

View File

@ -121,7 +121,7 @@ export default {
userId: null,
userName: null,
soType: this.soByType ? "01" : "02",
purchaseType: null,
purchaseType: this.goodsYes ? "02" : "01",
soStatus: "06"
},
showSearch: true,
@ -139,9 +139,6 @@ export default {
if (this.isBack){
this.queryParams.soType = "04"
}
if (this.soByType){
this.queryParams.purchaseType = this.goodsYes ? "02" : "01"
}
this.loading = true
const res = await getRepairSoPage(this.queryParams)
this.list = res.data.records

View File

@ -20,8 +20,7 @@
<span>{{ scope.$index + 1 }}</span>
</template>
</el-table-column>
<el-table-column label="单据号" align="center" prop="no" width="200"/>
<el-table-column label="客户车牌" align="center" prop="licenseNumber" />
<el-table-column label="单据号" align="center" prop="no" />
<el-table-column label="服务顾问" align="center" prop="adviserName" />
<el-table-column label="申请人" align="center" prop="repairName" />
<el-table-column label="状态" align="center" prop="status">
@ -313,9 +312,6 @@ export default {
item.isStock = this.type ? count <= item.wares.stock : true
})
this.items = this.items.filter(item => this.type ? item.waresStatus === '02' : item.waresAlreadyCount)
if (!this.type){
this.items = this.items.filter(item => item.waresAlreadyCount !== item.waresBackCount)
}
}finally {
this.dialogLoading = false
}
@ -468,7 +464,7 @@ export default {
<style scoped lang="scss">
::v-deep .el-table .stock td{
color: #ff0000 !important; /* 红色背景 */
background-color: #ff0000 !important; /* 红色背景 */
}
.item {
.item__input {

View File

@ -27,7 +27,6 @@
</template>
</el-table-column>
<el-table-column label="单据号" align="center" prop="no"/>
<el-table-column label="客户车牌" align="center" prop="licenseNumber" />
<el-table-column label="服务顾问" align="center" prop="adviserName"/>
<el-table-column label="申请人" align="center" prop="repairName"/>
<el-table-column label="状态" align="center" prop="status">

View File

@ -295,8 +295,7 @@ export default {
items: [],
remark: null,
adviserId: null,
adviserName: null,
licenseNumber: null,
adviserName: null
},
addWaresVisible: false,
waresFormData:{
@ -361,8 +360,7 @@ export default {
items: [],
remark: this.formData.remark,
adviserId: null,
adviserName: null,
licenseNumber: null,
adviserName: null
}
this.formData.no = createUniqueCodeByHead(this.info.type ? 'LLSQ' : 'TLSQ')
this.formData.ticketId = this.info.id
@ -370,7 +368,6 @@ export default {
this.formData.status = '01'
this.formData.adviserId = this.info.adviserId
this.formData.adviserName = this.info.adviserName
this.formData.licenseNumber = this.info.carNo
this.formData.items = [
...this.chooseList.map(item => {
return {

View File

@ -151,7 +151,7 @@
</div>
</el-card>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm" :disabled="!this.selectedRows"> </el-button>
<el-button type="primary" @click="submitForm" :disabled="formLoading"> </el-button>
<el-button @click="dialogVisible = false"> </el-button>
</div>
</el-dialog>