优化测试问题
This commit is contained in:
parent
04346fe02f
commit
432a972005
|
|
@ -400,7 +400,9 @@ export default {
|
|||
// this.isEdit = true
|
||||
// this.getTaskInfo()
|
||||
// }
|
||||
},
|
||||
|
||||
created() {
|
||||
if (this.isEdit) {
|
||||
this.taskId = this.editTaskId
|
||||
this.getTaskInfo()
|
||||
|
|
@ -559,6 +561,24 @@ export default {
|
|||
if (this.equipmentList.length > 0) {
|
||||
this.$refs['maForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
const productionTime =
|
||||
this.queryParams.productionTime
|
||||
?.split('-')
|
||||
.join('') - 0
|
||||
const purchaseTime =
|
||||
this.maForm.purchaseTime?.split('-').join('') - 0
|
||||
const arrivalTime =
|
||||
this.maForm.arrivalTime?.split('-').join('') - 0
|
||||
|
||||
if (productionTime > purchaseTime) {
|
||||
this.$message.error('出厂日期不可在采购日期之后')
|
||||
return
|
||||
}
|
||||
if (productionTime > arrivalTime) {
|
||||
this.$message.error('出厂日期不可在到货日期之后')
|
||||
return
|
||||
}
|
||||
|
||||
// console.log(this.maForm,'maForm')
|
||||
// console.log(this.equipmentList,'equipmentList')
|
||||
let isEmpty = true
|
||||
|
|
|
|||
|
|
@ -257,6 +257,7 @@
|
|||
v-model="scope.row.maCode"
|
||||
:disabled="scope.row.statusFlag == 0"
|
||||
οninput="value=value.replace(/[^0-9.]/g,'')"
|
||||
maxlength="24"
|
||||
></el-input>
|
||||
<span v-else>{{ scope.row.maCode }}</span>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -360,6 +360,7 @@
|
|||
type="textarea"
|
||||
:autosize="{ minRows: 4, maxRows: 6 }"
|
||||
placeholder="请输入通知内容"
|
||||
maxlength="500"
|
||||
style="width: 80%"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
|
|
|||
|
|
@ -44,10 +44,10 @@ module.exports = {
|
|||
// target: `https://z.csgmall.com.cn`,
|
||||
|
||||
// target: `http://10.40.92.60:28080`, //超
|
||||
target: `http://10.40.92.81:28080`, //韩/
|
||||
// target: `http://10.40.92.81:28080`, //韩/
|
||||
// target: `http://10.40.92.74:8080`,//旭/
|
||||
// target: `http://10.40.92.140:28080`, //帅
|
||||
// target: `http://10.40.92.253:28080`, //福
|
||||
target: `http://10.40.92.253:28080`, //福
|
||||
|
||||
//******** 注意事项 ********* */
|
||||
//1.全局替换qrUrl二维码扫码提供的网址-发布服务器的地址target;
|
||||
|
|
|
|||
Loading…
Reference in New Issue