Compare commits
No commits in common. "742f1bde16419a9fbbf476edad79e10664827a12" and "aa42ceb0b82f2acfa01e5f66614fff0123a685b1" have entirely different histories.
742f1bde16
...
aa42ceb0b8
@ -121,7 +121,7 @@ export default {
|
|||||||
userId: null,
|
userId: null,
|
||||||
userName: null,
|
userName: null,
|
||||||
soType: this.soByType ? "01" : "02",
|
soType: this.soByType ? "01" : "02",
|
||||||
purchaseType: null,
|
purchaseType: this.goodsYes ? "02" : "01",
|
||||||
soStatus: "06"
|
soStatus: "06"
|
||||||
},
|
},
|
||||||
showSearch: true,
|
showSearch: true,
|
||||||
@ -139,9 +139,6 @@ export default {
|
|||||||
if (this.isBack){
|
if (this.isBack){
|
||||||
this.queryParams.soType = "04"
|
this.queryParams.soType = "04"
|
||||||
}
|
}
|
||||||
if (this.soByType){
|
|
||||||
this.queryParams.purchaseType = this.goodsYes ? "02" : "01"
|
|
||||||
}
|
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const res = await getRepairSoPage(this.queryParams)
|
const res = await getRepairSoPage(this.queryParams)
|
||||||
this.list = res.data.records
|
this.list = res.data.records
|
||||||
|
@ -20,8 +20,7 @@
|
|||||||
<span>{{ scope.$index + 1 }}</span>
|
<span>{{ scope.$index + 1 }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="单据号" align="center" prop="no" width="200"/>
|
<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="adviserName" />
|
||||||
<el-table-column label="申请人" align="center" prop="repairName" />
|
<el-table-column label="申请人" align="center" prop="repairName" />
|
||||||
<el-table-column label="状态" align="center" prop="status">
|
<el-table-column label="状态" align="center" prop="status">
|
||||||
@ -313,9 +312,6 @@ export default {
|
|||||||
item.isStock = this.type ? count <= item.wares.stock : true
|
item.isStock = this.type ? count <= item.wares.stock : true
|
||||||
})
|
})
|
||||||
this.items = this.items.filter(item => this.type ? item.waresStatus === '02' : item.waresAlreadyCount)
|
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 {
|
}finally {
|
||||||
this.dialogLoading = false
|
this.dialogLoading = false
|
||||||
}
|
}
|
||||||
@ -468,7 +464,7 @@ export default {
|
|||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
::v-deep .el-table .stock td{
|
::v-deep .el-table .stock td{
|
||||||
color: #ff0000 !important; /* 红色背景 */
|
background-color: #ff0000 !important; /* 红色背景 */
|
||||||
}
|
}
|
||||||
.item {
|
.item {
|
||||||
.item__input {
|
.item__input {
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="单据号" align="center" prop="no"/>
|
<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="adviserName"/>
|
||||||
<el-table-column label="申请人" align="center" prop="repairName"/>
|
<el-table-column label="申请人" align="center" prop="repairName"/>
|
||||||
<el-table-column label="状态" align="center" prop="status">
|
<el-table-column label="状态" align="center" prop="status">
|
||||||
|
@ -295,8 +295,7 @@ export default {
|
|||||||
items: [],
|
items: [],
|
||||||
remark: null,
|
remark: null,
|
||||||
adviserId: null,
|
adviserId: null,
|
||||||
adviserName: null,
|
adviserName: null
|
||||||
licenseNumber: null,
|
|
||||||
},
|
},
|
||||||
addWaresVisible: false,
|
addWaresVisible: false,
|
||||||
waresFormData:{
|
waresFormData:{
|
||||||
@ -361,8 +360,7 @@ export default {
|
|||||||
items: [],
|
items: [],
|
||||||
remark: this.formData.remark,
|
remark: this.formData.remark,
|
||||||
adviserId: null,
|
adviserId: null,
|
||||||
adviserName: null,
|
adviserName: null
|
||||||
licenseNumber: null,
|
|
||||||
}
|
}
|
||||||
this.formData.no = createUniqueCodeByHead(this.info.type ? 'LLSQ' : 'TLSQ')
|
this.formData.no = createUniqueCodeByHead(this.info.type ? 'LLSQ' : 'TLSQ')
|
||||||
this.formData.ticketId = this.info.id
|
this.formData.ticketId = this.info.id
|
||||||
@ -370,7 +368,6 @@ export default {
|
|||||||
this.formData.status = '01'
|
this.formData.status = '01'
|
||||||
this.formData.adviserId = this.info.adviserId
|
this.formData.adviserId = this.info.adviserId
|
||||||
this.formData.adviserName = this.info.adviserName
|
this.formData.adviserName = this.info.adviserName
|
||||||
this.formData.licenseNumber = this.info.carNo
|
|
||||||
this.formData.items = [
|
this.formData.items = [
|
||||||
...this.chooseList.map(item => {
|
...this.chooseList.map(item => {
|
||||||
return {
|
return {
|
||||||
|
@ -151,7 +151,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<div slot="footer" class="dialog-footer">
|
<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>
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
Loading…
Reference in New Issue
Block a user