zouyu
2023-10-16 262919ad055f1b5bca47171badf090ca5f5fccba
	modified:   src/api/plan/customerorder.js
modified: src/views/plan/customerorder/customerorder-form.vue
modified: vue.config.js
已修改3个文件
61 ■■■■ 文件已修改
src/api/plan/customerorder.js 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/plan/customerorder/customerorder-form.vue 51 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/plan/customerorder.js
@@ -51,6 +51,14 @@
  })
}
export function updateCustomerOrderById(obj) {
  return request({
    url: '/mes/plan/customerOrder/updateById',
    method: 'put',
    data: obj
  })
}
// 创建主生产计划需求
export function createMpsRequirements(obj) {
  return request({
src/views/plan/customerorder/customerorder-form.vue
@@ -72,7 +72,13 @@
          <el-row>
            <el-col :span="6">
              <el-form-item label="客户订单状态" prop="returnStatus">
                <el-select
                <el-input
                v-model="dataForm.returnStatus"
                  placeholder=""
                  filterable
                  style="width: 100%"
                  disabled></el-input>
                <!-- <el-select
                  v-model="dataForm.returnStatus"
                  placeholder=""
                  filterable
@@ -86,7 +92,7 @@
                    :value="item.value"
                    :disabled="!ediSource"
                  />
                </el-select>
                </el-select> -->
              </el-form-item>
            </el-col>
            <el-col :span="6">
@@ -721,6 +727,7 @@
  getCustomerOrder,
  addCustomerOrder,
  putCustomerOrder,
  updateCustomerOrderById,
  download,
  getOtcCustomerOrderFileList,
  otcDownload,
@@ -775,21 +782,39 @@
      showSynchronize: false,
      selectOrderParam: null,
      selectOrderObj: {},
      aaaaa:{},
      dataForm: {
        id: 0,
        sourceId: '',
        contractNo: '',
        customerOrderNo: '',
        returnStatus: '',
        deliveryDate: '',
        customerNo: '',
        customerName: '',
        coState: '',
        coLineNo: '',
        returnStatus: '',
        deliveryDate: '',
        salesMan: '',
        salerWorkCode: '',
        manufactureAttr: '',
        buyQtyDue: 0,
        productName: '',
        productType: '',
        partNo: '',
        docNumber: '',
        shippingAddress: '',
        remark: '',
        otcUnit: '',
        coState: '',
        customerPartSpec: '',
        entityName: '',
        factoryPlaceOrderDate: '',
        isCp: '',
        originalContractStatus: '',
        placeOrderDate: '',
        province: '',
        customerOrderNo: '',
        coLineNo: '',
        customerPartName: '',
        otcQuantity: '',
        buyQtyDue: '',
        wantedDeliveryDate: '',
        plannedDeliveryDate: '',
        customerPoNo: '',
@@ -805,11 +830,7 @@
        ifsSalesUnit: null,
        ifsConvFactor: null,
        unit: null,
        otcUnit: null,
        otcQuantity: null,
        docNumber: null,
        manufactureAttr: 'N',
        customerPartSpec: null,
        division: null,
        printType: null,
        printingRequirements: null,
@@ -818,14 +839,10 @@
        qualityRequire: null,
        otherProductRequire: null,
        divisionSystem: null,
        shippingAddress: null,
        salesMan: null,
        lengthRequirement: null,
        remark: null,
        otcPartSync: null,
        finalCustomerName: null,
        productGroup: null,
        productType: null,
        centralizedMiningProperty: null,
        orderDescription: null,
        otcLineNo: null,
@@ -1114,7 +1131,7 @@
      this.$refs.dataForm.validate((valid) => {
        if (valid) {
          if (this.dataForm.id) {
            putCustomerOrder(this.dataForm)
            updateCustomerOrderById(this.dataForm)
              .then((data) => {
                this.$message.success('修改成功')
                this.visible = false
vue.config.js
@@ -2,7 +2,7 @@
 * 配置参考:
 * https://cli.vuejs.org/zh/config/
 */
const url = 'http://192.168.0.23:9999'
const url = 'http://127.0.0.1:9999'
const localUrl = 'http://localhost:8089'
//const localUrl = 'http://10.88.15.95:8089'
const CompressionWebpackPlugin = require('compression-webpack-plugin')