Merge branch 'dev_pro_河南鹤壁' of http://114.132.189.42:9002/r/product-inventory-management into dev_pro_河南鹤壁
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="评分:" prop="rating"> |
| | | <el-rate |
| | | v-model="form.rating" |
| | | :disabled="operationType === 'view'" |
| | | :max="5" |
| | | show-text |
| | | :texts="['非常不满意', '不满意', '一般', '满意', '非常满意']" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="24"> |
| | | <el-form-item label="评价内容描述:" prop="evaluation"> |
| | | <el-input |
| | | v-model="form.evaluation" |
| | | placeholder="请输入评价内容描述" |
| | | clearable |
| | | :disabled="operationType === 'view'" |
| | | type="textarea" |
| | | :rows="3" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | |
| | | disposeUserId: "", |
| | | disDate: "", |
| | | disRes: "", |
| | | rating: null, |
| | | evaluation: "", |
| | | }, |
| | | rules: { |
| | | feedbackDate: [{required: true, message: "请选择", trigger: "change"}], |
| | |
| | | form.value.customerId = null; |
| | | } |
| | | getSalesLedger({ |
| | | customerName: form.value.customerName, |
| | | customerId: form.value.customerId, |
| | | }).then(res => { |
| | | if (res.code === 200) { |
| | | associatedSalesOrderNumberOptions.value = res.data.records.map(item => ({ |
| | |
| | | form.value = { ...row }; |
| | | if (form.value.customerName) { |
| | | const res = await getSalesLedger({ |
| | | customerName: form.value.customerName, |
| | | customerId: form.value.customerId, |
| | | }); |
| | | if (res?.code === 200) { |
| | | console.log(res); |
| | |
| | | { |
| | | icon: markRaw(FolderOpened), |
| | | count: 0, |
| | | label: "已处理", |
| | | label: "待处理", |
| | | color: "#ff9a2e", |
| | | bgColor: "#fff5e6", |
| | | }, |
| | | { |
| | | icon: markRaw(UserFilled), |
| | | count: 0, |
| | | label: "已完成", |
| | | label: "已处理", |
| | | color: "#00b42a", |
| | | bgColor: "#e6f7ed", |
| | | }, |
| | |
| | | if (res.code === 200) { |
| | | const statsData = Array.isArray(res.data) ? res.data : []; |
| | | statsList.value[0].count = getStatsCountByStatus(statsData, 3); |
| | | statsList.value[1].count = getStatsCountByStatus(statsData, 2); |
| | | statsList.value[2].count = getStatsCountByStatus(statsData, 1); |
| | | statsList.value[1].count = getStatsCountByStatus(statsData, 1); |
| | | statsList.value[2].count = getStatsCountByStatus(statsData, 2); |
| | | } |
| | | }); |
| | | }; |